Skip to main content
4-Participant
October 3, 2023
Solved

Reassign Workflow - New Iteration

  • October 3, 2023
  • 1 reply
  • 1195 views

Windchill PDMLink 12.1.2

 

Changed the code inside the workflow expressions, and need to assign the new workflow iteration to a part that has the old workflow iteration already running. But without start the workflow over.

 

Need to keep the same workflow point execution for the new workflow iteration.

How can I do that?

 

 

 

Best answer by HelesicPetr

HI @d.calzavara 

Unfortunately there is not a way how to update running workflow to new iteration.

Always you need to start new workflow with new iteration.

So you can just stop the existing wf and run new one and finish all tasks as a admin.

 

I have experience if you need to keep your workflow running with new code update you need to define this on the start of wf customization that you would need it. 

Instead of writing a full code to a expression you just call your function where all work is done. 

Then you can update  your code anytime you need without stopping running workflow 

 

PetrH

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
October 4, 2023

HI @d.calzavara 

Unfortunately there is not a way how to update running workflow to new iteration.

Always you need to start new workflow with new iteration.

So you can just stop the existing wf and run new one and finish all tasks as a admin.

 

I have experience if you need to keep your workflow running with new code update you need to define this on the start of wf customization that you would need it. 

Instead of writing a full code to a expression you just call your function where all work is done. 

Then you can update  your code anytime you need without stopping running workflow 

 

PetrH