Skip to main content
10-Marble
July 3, 2025
Solved

list a document history in windchill from thingworx flow

  • July 3, 2025
  • 3 replies
  • 730 views

Hello, I have a flow that fetches documents form Windchill with Windchill actions. It works but I would like to fetch the whole history of that document. How can I achieve this?
Thanks in advance

Best answer by slangley

Hi @FC_12202090 

 

To fetch the complete history of a document from Windchill using ThingWorx, you can utilize the Windchill REST API, which provides endpoints specifically designed for accessing document history. Here are some steps and resources to guide you:

 

Explore Windchill REST API Documentation: This documentation will provide you with detailed information on the available endpoints and how to use them to retrieve document history. You can access it here.

 

Identify Relevant Endpoints: Look for specific REST endpoints that pertain to document history. These endpoints will allow you to query the history of a document, including versions, changes, and other relevant metadata.

 

By leveraging the Windchill REST API and the provided resources, you should be able to implement a solution to fetch the entire history of your documents effectively.

 

Regards.

 

--Sharon

3 replies

slangleyCommunity ManagerAnswer
Community Manager
July 16, 2025

Hi @FC_12202090 

 

To fetch the complete history of a document from Windchill using ThingWorx, you can utilize the Windchill REST API, which provides endpoints specifically designed for accessing document history. Here are some steps and resources to guide you:

 

Explore Windchill REST API Documentation: This documentation will provide you with detailed information on the available endpoints and how to use them to retrieve document history. You can access it here.

 

Identify Relevant Endpoints: Look for specific REST endpoints that pertain to document history. These endpoints will allow you to query the history of a document, including versions, changes, and other relevant metadata.

 

By leveraging the Windchill REST API and the provided resources, you should be able to implement a solution to fetch the entire history of your documents effectively.

 

Regards.

 

--Sharon

10-Marble
August 6, 2025

Hello @slangley, thank you for the reply but I already found a solution. Thank you again, 

18-Opal
August 6, 2025

Can you share the solution you found?

18-Opal
July 28, 2025

Hello @FC_12202090,

 

In case you don't find a better way to do it -- all document versions share the same number. So you can run a Document query, $filtering by document number. This way you'll get all versions and iterations, i.e. the "history".

 

/ Constantine

Community Manager
August 5, 2025

Hi @FC_12202090 

 

Please let us know if the responses were helpful by marking the appropriate one as the Accepted Solution.  If you're still trying to find a solution, please provide additional information so we can continue to assist.

 

Regards.

 

--Sharon