I plan to implement a process where in a certain task , the user will have three choices.
Based on his choice , the process flow will be different.
Currently The user has to choose between archive , Planned or Unplanned .
I am using a Text variable to store the users selection and then use that to compare with the XOR output lanes.
If the User chooses archive , the case will end
If the User chooses Unplanned, the task will go to Employer
If the user Chooses Planned, the task will go to next Level of Approval.
I am using a XOR gateway. On all the Three points, i have mapped different tasks.
I have also added the Condition/value to check on each arm of the XOR outputs.
But I am getting an error, all outputs from XOR must be conditional or default.
However, the Studio will still require to choose one of the XOR gateway output flow as the default one. In your case, it could be the “Archive” one by example. The reason behind that is to avoid a situation where there is no valid option to continue. Let’s say, for a unanticipated reason the Text variable that contains the user choice is NULL, you need to define a path where the flow will go through.
So either, you decide that one of the three output is the “default” one or you create a fourth output for the non planned scenarios.
Completely agree with Lionel, there is always Choice + 1. No Choice.
We usually define our gates as based on truth only, false are always default…:
If Choice = 1 (truth) then follow process steps for 1
else is default (false) must go to If Choice = 2 (truth) then follow process steps for 2
else is default (false) must go to If Choice = 3 (truth) then follow process steps for 3
else is default (false) must be handled as an error condition
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.