Change Notice workflow "Release Changeables" activity terminates any workflows on Resulting Objects
I have just discovered the "Release Changeables" activity, in the Change Notice workflow, will terminate any existing running workflow on any of its Resulting Objects. These are workflows in which its primary business object is a Resulting Object (eg a wtpart) on the Change Notice.
More specifically it is this line of code that is doing this:
com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.releaseChangeables((wt.change2.WTChangeOrder2)primaryBusinessObject);
Setting the com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.releaseChangeables logger to debug and the running the WorkflowProcessHelper.releaseChangeables(ecn) results in "Attempting to terminate workflow process..." lines in the MethodServer log. eg:
2022-09-09 11:21:45,071 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.epm.EPMDocument:2439279269
2022-09-09 11:21:45,075 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.epm.EPMDocument:2439279268
2022-09-09 11:21:45,078 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.part.WTPart:2439333087
2022-09-09 11:21:45,103 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.epm.EPMDocument:2441409194
2022-09-09 11:21:45,106 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.epm.EPMDocument:2441409193
2022-09-09 11:21:45,109 DEBUG [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper wcadmin - Attempting to terminate workflow process for: wt.part.WTPart:2441421304
I have opened a call to PTC to see if there is a preference or property we can set to turn off this behavior.
Does anybody else think this is a really bad idea, for the Change Notice workflow, to terminate existing running workflows on its Resulting Objects?
Are there some scenarios where this is the desired behavior?
Does anybody have any ideas on how to prevent this from happening?
I could tweak the workflow template and comment out this line however I really don't know what the "WorkflowProcessHelper.releaseChangeables()" is really doing. This would fix new Change Notice workflows.
We have over a hundred existing Change Notice workflows running and it would be nice to have a way to prevent WorkflowProcessHelper.releaseChangeables() from this nasty behavior.

