cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Affected data changes and resulting items changeable (transitions)

Highlighted
Aquamarine

Affected data changes and resulting items changeable (transitions)

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&quotSmiley Wink);

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?

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________ Check out the Windchill Tips Board! We're talking about Whirlpool's use of digital twin, augmented reality, and data-driven design!

The NAVIGATE WORKING GROUP is here! Come innovate with PTC!

Sign up for a Working Group