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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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