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

We are happy to announce the new Windchill Customization board! Learn more.

How to Terminate Workflow

adev
1-Newbie

How to Terminate Workflow

Hello,

Does any one know how to terminate windchill workflow using API

1 ACCEPTED SOLUTION

Accepted Solutions
BhushanNehe
14-Alexandrite
(To:bkontham)

Following API can be tried but I don't this is a supported API.

wt.workflow.engine.WfEngineHelper.service.changeState((wt.workflow.engine.WfProcess)obj.getObject(), wt.workflow.engine.WfTransition.TERMINATE);

Regards,

Bhushan

View solution in original post

3 REPLIES 3
bkontham
11-Garnet
(To:adev)

Try using the following API.

WfEngineHelper.service.deleteProcess


Thanks,

Bhagirath

BhushanNehe
14-Alexandrite
(To:bkontham)

Following API can be tried but I don't this is a supported API.

wt.workflow.engine.WfEngineHelper.service.changeState((wt.workflow.engine.WfProcess)obj.getObject(), wt.workflow.engine.WfTransition.TERMINATE);

Regards,

Bhushan

adev
1-Newbie
(To:bkontham)

Thank you Bhushan/Bhagirath

Top Tags