You are viewing limited content. For full access, please sign in.

Question

Question

Detect if process is started by Workflow or manuanlly

asked on February 8, 2018

Good morning,

What would be the best way to detect if a business process was started by Workflow or if it was started manually?

We have a business process that we want to route to different gateways, depending on what started the process. First thing that comes to my mind is to set a variable from Workflow and send it back to the form or something.

Any ideas or suggestions?

Thank you,

 

Raul Gonzalez

 

0 0

Answer

SELECTED ANSWER
replied on February 8, 2018

I'd check if the initiator token equals the name of your workflow service account.

3 0

Replies

replied on February 8, 2018

Thanks Erik,

We are going to go with setting a variable back to the form as a flag. Thanks for sharing your method.

 

Raul Gonzalez

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.