Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I added a task out change task that is shall we say a good idea but not critical to the overall execution of the release. I notice that the these tasks are still running long after the change notice workflows are complete. I can manually go in and close them out since at this point, their need is no longer required. What is the best way to automate this?
I was thinking of adding a sync task that would spin up in parallel and when the change notice hits released state, close out this task. If the task closes first, it would close out the sync task and there by complete the workflow. Is this the only way to do this?
Solved! Go to Solution.
Hi @avillanueva
In my opinion your solution with the synch robot is the best one.
Another way would be to set deadline for the task and just set mark complete after deadline. I know it is not ideal but it would work.
PetrH
Hi @avillanueva
In my opinion your solution with the synch robot is the best one.
Another way would be to set deadline for the task and just set mark complete after deadline. I know it is not ideal but it would work.
PetrH
Is the change activity workflow designed to stay running after the CN is completed OOTB? My CN workflows execute as expected but the Activity workflows remain running. Will that be an issue later? Shouldn't it go to executed with no errors once the CN or Task is complete?
Hello @ZC_10909252
OOTB, the change notice can not be finished without finished activities. WF Change notice is waiting till the activities are completed.
Only if the Change Notice workflow is completed by a standard process then the running activity is terminated OOTB. But it is not usual that Activity wf stays running.
If you terminate the CN workflow by an admin action, then the activity workflow is not finished/terminated ootb.
If your Activity workflow is not finished correctly by a process, then you have some issue with a workflow end in the activity wf. The wf does not go to the end point.
It needs deeper investigation.
PetrH
Gotcha. Thanks I was missing an OR connector.