Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to Rework from the Audit step in the CN and Re trigger the Change Task

$
0
0

Not Sure how your change Process is setup. However you can either Revise the change notice instead of "Rework" or add custom expression robot to start the workflow process for Change task


Revise

This is slightly complex to implement. Modify workflow to assign 1st activity after revision should go to Change Admin to decide which change tasks needs to Revise or start from beginning in case you have multiple change task and only one change task needs to modification


Custom Expression Robot

Add expression robot after Audit Task for “Rework”. Use windchill API’s to collect and change task of change Notice and change the state to Open (1st state of Lifecycle to start workflow). below are the two API’s you may need to use


ChangeHelper2.service.getChangeActivities(theOrder);

LifeCycleHelper.service.setLifeCycleState(theTask, "THESTATE");



Hope it helps!!


Thanks

Shreyas


Viewing all articles
Browse latest Browse all 8876

Trending Articles