I have created custom workflow with 5 step.
On 2nd step(it might be 3rd step or 4th step-base on some condition) I want to end workflow.
Is there any way to do this?
This workflow end is not from task form.It is from my java webscript or some where else.