Skip to main content
1-Visitor
Oct 16, 2015 8:05 PM UTC
Solved

How do I check whether the version number of an object in a promotion request is the latest version?

We are using Windchill 10.2 M030. I have a workflow for handling the Promotion Request processing, and I need to check whether the version of an object submitted on the promotion request is the latest version of that object or not. Is there an attribute that stores this information? I can get the version number, the iteration number and tell if the iteration is the latest iteration for the given version number, but I don't know how to tell if the version is the latest version for the object.

Any help will be appreciated. Attached is the code that I am currently using within an "Execute Expression" robot inside the workflow.

Thank you.

bwilcoxAnswer
1-Visitor
Oct 21, 2015 10:07 PM UTC

I found a round-about way of doing this. It isn't the best way, likely, but it works. See attached, if interested.

1 reply

bwilcox1-VisitorAuthorAnswer
1-Visitor
Oct 21, 2015 10:07 PM UTC

I found a round-about way of doing this. It isn't the best way, likely, but it works. See attached, if interested.

Translate