2022 Nov 23 3:23 PM - edited 2024 Feb 04 4:44 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
30 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.