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

How to Terminate Workflow

SOLVED
Highlighted
Newbie

How to Terminate Workflow

Hello,

Does any one know how to terminate windchill workflow using API

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to Terminate Workflow

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

3 REPLIES 3

Re: How to Terminate Workflow

Try using the following API.

WfEngineHelper.service.deleteProcess


Thanks,

Bhagirath

Re: How to Terminate Workflow

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

Re: How to Terminate Workflow

Thank you Bhushan/Bhagirath