I have created a custom workflow, According to the workflow, I have used a condition step-activity. Whenever the condition is true, the workflow should send an email and stop, when the condition is false it should do few more steps, after which the workflow stops naturally.
Can anyone please tell me how to stop a workflow explicitly? When my condition is true and after sending an email.
Thanks in advance.
Regards,
Tushar.
This should be an exception and not the norm. Workflow templates should be designed such that they terminate when they should without any administrator interactoin.
Having said that, in order to stop a workflow instance, you can complete it manually in SWIA.
Hi,
Are you talking about complete workflow.
You add Mail step in True condition branch . Then add process control step and select Complete Workflow in Function.
Dear Anjan,
I too tried the same but was not sure.. Thanks for the same.
Regards,
Tushar.
@ Pavan - Thanks
@ Tushar - Not mention
Hi Tushar,
What ever Anjan has suggested that would be more flexible way to handle the case... Make use of Process control step in the false branch of the condition step.
Regards
Pavan