In table we have two fields id and status but according to id i want condition like if status chnaged to cancelled then it should move to end node how i can use this condition in XOR gateway ?
Discussion posts and replies are publicly visible
We are missing context and details!
stackoverflow.com/.../how-to-ask
If I'm understanding correctly you have a process that starts and has a User Input Task to collect data from the user and you would like the process to continue to the end node when the user updates the value for status?
If this is correct then using an a!completeTask() within your saveInto may take care of that need.
Are there any more details you can provide?
To route a process based on the status field using an XOR gateway in BPMN, create two sequence flows from the gateway with conditions: one for status == "cancelled" leading to the end node, and another for status != "cancelled" for continued processing for other statuses.
status
status == "cancelled"
status != "cancelled"
Hi ashwinii0001, we can simply add one condition here in XOR gateway that we have a pv storing the value of status so we will compare hardcodedly with the "cancelled" for that we will select end node in go to dropdown and for the else dropdown we will select the other flow provided that you have two arrows coming out of the XOR gate one reaching to the end gate directly and other to the other condition.