Latest Iteration refresh on Promotion Request (PromotionNotice)?
Windchill 10.1 promotion Request workflow.
I am using a Promotion Request to set the state on EPM and WTdocuments. I have a “rework” loop back to the author from a Approver task. At that rework loop the objects are unlocked and set back to a modifiable state. There is then a Conditional check to confirm that the iterations are all at the correct state. The latest iteration is then refreshed onto the promotion objects table. Before the Promotion Request is returned to the Approvers, it is Locked (objects set to a review only state).
This is all close to the Out Of Box configuration.
My Question (problem).
During the Approval role I have a controlled set of users who I have granted the ability to modify one document type. This results in a new iteration at the same Locked state (Under Review).
This creates two problems in my workflow. 1) The Conditional check on the Rework loop gets tripped as the Unlock only sets the highest iteration to Draft (modifiable state) and leaves the original Under Review iteration. 2) Without a rework loop, the workflow only promotes the original iteration on the Promotion Objects table and leaves the highest iteration at Under Review.
What I need is a workflow step at Refreshes all the Promotion Objects to the highest iteration.
I could then place that workflow step after the Approvers have approved (and one object was updated) so all objects on the promotion objects table are latest.
I could also place it before the rework loop and remove the state check on the Conditional loop.
I don’t know code but I think it has something to do with this: