Skip to main content
February 8, 2023
Question

Facing challenged in Process Model

  • February 8, 2023
  • 4 replies
  • 0 views

Hi Experts,

Looking forward for your help.

We have created a process model where we are running two process flows simultaneously using "AND" Gateway and we want our last node to be executed only once. But the problem we are facing here is that the last node is executing twice due to the "AND" Gateway.

Is there any alternative solution so that the last node will be executed only once along with the "AND" Gateway?

Thanks

4 replies

stefanhelzle0001
Brainy
February 8, 2023

The second AND gateway has no purpose in your design as you join both flows in that preceding script task. To make the AND only continue when both flows come in, you actually need two flows coming in.

February 9, 2023

Thank you so much Stefan for your response its really help me .

mikes0011
Brainy
February 8, 2023

Stefan's answer is correct, as far as what you must do with your final AND gateway.

Additionally I noticed that your early end events would actually break the use of the final AND gateway if either of them are executed (meaning only 1 or possibly 0 incoming flows would arrive at the final AND).  You need to resolve this.  Basically the XOR gateways should send the flow further down the same path, instead of to their own soft END nodes.

The Expression Guru
February 9, 2023

Thank you so much Mike for your response its really help me and more clear .