Skip to main content
October 18, 2023
Question

Process Model

  • October 18, 2023
  • 4 replies
  • 0 views

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 ?

    4 replies

    stefanhelzle0001
    Brainy
    October 18, 2023

    We are missing context and details!

    stackoverflow.com/.../how-to-ask

    zakarym5342
    October 18, 2023

    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?

    October 18, 2023

    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.

    November 8, 2023

    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.