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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to Terminate Workflow

adev
1-Visitor

How to Terminate Workflow

Hello,

Does any one know how to terminate windchill workflow using API

ACCEPTED SOLUTION

Accepted Solutions

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
12-Amethyst
(To:adev)

Try using the following API.

WfEngineHelper.service.deleteProcess


Thanks,

Bhagirath

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-Visitor
(To:bkontham)

Thank you Bhushan/Bhagirath

Announcements


Top Tags