cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

list a document history in windchill from thingworx flow

FC_12202090
10-Marble

list a document history in windchill from thingworx flow

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

ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald III
(To:FC_12202090)

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

View solution in original post

5 REPLIES 5
slangley
23-Emerald III
(To:FC_12202090)

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

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

Can you share the solution you found?


Vilia (my company) | GitHub | LinkedIn

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


Vilia (my company) | GitHub | LinkedIn
slangley
23-Emerald III
(To:FC_12202090)

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

Announcements


Top Tags