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

Question

Question

Determine Task Name

asked on October 25, 2019

I have a parallel gateway that sends a task to a user and a supervisor.  If one OR the other makes a Approve or Reject I want to cancel the others task.  I have this working with a throw/catch

However, the Gateway after the Signal throw needs to go one of two ways depending on who did the approval (supervisor or user).  I can't seem to check in the gateway which task completed so I probably need to run a workflow and pass back a variable to the form and check that.  How would I go about checking the task name?  I believe I could check the Form name, but they have the same form.  Do I need to copy the form with a different name and give them the appropriate one and then check that?

 

Thanks,

Chris

0 0

Replies

replied on October 25, 2019 Show version history

Why don't you just keep the two paths separate but add parallel gateways right after them that lead to the signal event?

Or keep them entirely separate and add two signal throw events (you can have multiple throw events that trigger the same signal).

Another option, although it may be a bit awkward, is that you can give the buttons different names between the two user tasks even though they are using the same form; this would allow you to check the User Action and tell the difference that way.

Step IDs are another option since each user task will have a unique step ID, but that would require workflow so it is probably too much.

1 0
replied on October 25, 2019

Hey Chris, would it make sense in your case to have the process assign one task to both of them, then the outflow can check the condition to see who completed the task?

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

Sign in to reply to this post.