Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Affected data changes and resulting items changeable (transitions)

$
0
0

Hi Community - hoping you can help with this.

 

I am tying to use one CN workflow for both numeric version items that result in Pre-Released state, and alpha versions that result in Released for Production state. I would like that all items in the Affected data section of the change task all (numeric and alpha) result in being set to Superseded.

 

com.(name).workflow.WorkflowHelper.setChangeablesBeforeState((wt.change2.WTChangeOrder2)primaryBusinessObject,wt.lifecycle.State.toState("SUPERSEDED"));

 

Is that all that needs to be done on the helper to set the Affected Data (aka primaryBusinessObject)?

 

 

Resulting Items. These I need to result in states based on alpha/numeric version.

Wondering if I would need to have the resulting items be at different named states so "change" in the Lifecycle can accommodate resulting in different state:

If numeric, then Under Review: Change = Pre-Released

If alpha, then Implementation: Change = Released for Production

 

Is there any other solution that is more Out Of Box?


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>