Expand my Community achievements bar.

SOLVED

Stop workflow programmatically

Avatar

Level 3

Can someone advice me the way/commands to stop the workflow using the program/inbuilt API?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Jaspreet,

Use the methods in the xtk:workflow schema to start , stop or pause workflows via APIs .

You can use it in a Javascript or in an advanced tab of a workflow activity or External SOAP calls like this :

xtk.workflow.PostEvent or xtk.workflow.Stop

Regards,

Adhiyan

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi Jaspreet,

Use the methods in the xtk:workflow schema to start , stop or pause workflows via APIs .

You can use it in a Javascript or in an advanced tab of a workflow activity or External SOAP calls like this :

xtk.workflow.PostEvent or xtk.workflow.Stop

Regards,

Adhiyan

Avatar

Level 2

can we have a guide or explanation on how we can do this? with xtk.workflow.Stop() 

 

thank you