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

Question

Question

Signal Throw Not Triggering

asked on August 24, 2021

I have a Parallel Gateway which collapses multiple inputs into a single linear output. This then goes to a Signal Throw (which interrupts a previous task), then a Workflow Task, then End Event. The issue is that the Parallel Gateway is monitored as Complete for each of the inputs, but it never moves on to the Signal Throw, the WF, or the End Event. This process should be occurring each time an input event is completed.

 

I have checked the Signal Throw and the Signal Catch Events, and everything looks to be setup correctly. Any ideas? Possibly the number of inputs is causing an issue, and a couple Exclusive Gateways to limit the number of inputs into the Parallel Gateway?

 

Thanks,

0 0

Answer

SELECTED ANSWER
replied on August 24, 2021 Show version history

A parallel gateway will wait for all branches to complete before it continues to the next step, so if you have 5 branches leading into the gateway, it will not proceed to the next step until all 5 branches have reached the gateway.

It sounds like you might want an Inclusive Gateway rather than a Parallel Gateway. While a parallel gateway waits for all incoming flows, an inclusive gateway only waits for the active flows before proceeding.

Gateways (laserfiche.com)

0 0

Replies

replied on August 24, 2021

What is the fourth path the comes in from the top? Does it finish or is it the task you are trying to interrupt? I have found that an interrupt does not satisfy the parallel gateway. It will continue to wait for the task that you interrupted even though it is not technically 'in process' anymore. So you just have to build the paths differently.

0 0
replied on August 24, 2021

There is actually a fourth and fifth path coming in from the top, but the are also just Repository steps. The step I am trying to Interrupt is at the very beginning of the process and is separate from the rest of the proccess. It sits there waiting to receive the signal, and then ends.

 

0 0
replied on August 24, 2021

Can you snip the entire process? Its hard to tell from the limited views.

0 0
replied on August 24, 2021

It's kind of huge.. I grabbed the starting stage, and routes taken are lined over in red.

 

All of the steps in the middle completed correctly. The Signal Throw/Catch are circled in blue. The Parallel Gateway completed, but the Signal Throw is never triggered.

 

0 0
SELECTED ANSWER
replied on August 24, 2021 Show version history

A parallel gateway will wait for all branches to complete before it continues to the next step, so if you have 5 branches leading into the gateway, it will not proceed to the next step until all 5 branches have reached the gateway.

It sounds like you might want an Inclusive Gateway rather than a Parallel Gateway. While a parallel gateway waits for all incoming flows, an inclusive gateway only waits for the active flows before proceeding.

Gateways (laserfiche.com)

0 0
replied on August 24, 2021 Show version history

I was incorrect in my original post, the Signal should only trigger after they have all completed. Though 3 out of 5 branches only run conditionally. I've also checked the condition variables, and they came through correctly.

 

The four marked branches have all completed and routed to the Parallel Gateway which Completed each time, but never moved forward.

0 0
replied on August 24, 2021 Show version history

Yes, but the condition of the branches is not considered with a parallel gateway. Parallel will always wait for every branch regardless of what conditions may prevent that branch from becoming active.

If the number of "active" branches is conditional, then instead of the parallel you need an inclusive gateway which still wait, but only for "active" branches/flows.

1 0
replied on August 24, 2021

Your top parallel that splits into three needs a merge to bring them back into one...probably an inclusive merge. Try that first. Lots of unknowns here and without being able to read everything its hard to help.

0 0
replied on August 24, 2021

Thank you!!!

0 0
replied on August 24, 2021

I attached a larger picture that is hopefully easier to see

You are not allowed to follow up in this post.

Sign in to reply to this post.