cancel
Showing results for 
Search instead for 
Did you mean: 

Error sequence flow properties Condition, workflow is going by default route.

former_member817291
Discoverer
0 Kudos
634

Hello People,

I am trying to execute mail task based on exclusive gateway descion

Here if you see, both leave approval(Default event) and leave rejected (Based on condition) should be triggered, here Even If I have placed condition (Earkier I have tried ${context.workflow.decisions == "false"} also ${context.workflow.status == "false"}), Workflow redirected to default event i.e leave approval mail trigger event.

Below is manager approval form,

Do we have any other syntax to write condition ?

Thank-you in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

tobias_breyer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ganesh,

while the form gives an indication of what are the values coming for a field, only the workflow context at runtime is the actual truth in that respect. Could you share a respective snippet from an actually running workflow instance?

I am also not sure whether I understood your description correctly. Do you assume that in certain cases, both the "conditional" as well as the default branch are taken? That is not the case. You are using the Exclusive Choice gateway, this means the options are "exclusive". The default branch is taken if and only if none of the branches with a condition maintained actually have matched. Among those branches with a condition, only the first match will be followed.

I hope that helps.

Regards,

Tobias