Skipping a business workflow execution by a conditional


1 comment

  • Avatar
    Prateek Kumar Baheti

    Currently there is no direct way of controlling the execution of a workflow from code. The order of execution is fixed and Twist will execute each step in a scenario until a failure occurs. 

    The only way to do this would be to skip the check/verification in the underneath step implementation based on the viewport, which i presume you are already doing.

    Another way to manage it would be to have independent scenarios for verifying desktop and mobile viewports because they seem like they are testing different properties. 

    Comment actions Permalink

Please sign in to leave a comment.