ElectricFlow: Choosing transitions

This video shows how to choose the right transition for your workflow needs

Instructor: Vidhya Vijayakumar

Duration: 5:35

Have more questions? Submit a request

Comments

  • Avatar
    Benson Ayabe

    A comment on testing of the job outcome in the transition -- there are other outcomes besides "success" and "error" (most notably "warning").

    As such, when there are only two transitions defined, it is a best practice to have the transition condition for the two transitions be the exact opposite of each other. That way you'll ensure that you won't be surprised one day when the sub-workflow completes but neither transition occurs.

    In this particular case, you may want to have the failed transition use the condition == "error" and the successful transition use != "error" (assuming of course that you want the workflow to continue when the outcome is "warning").

    A full list of possible outcomes may be found in the EC Help documentation.

Powered by Zendesk