Screen Switch

Screen Switch handles multiple situations of a task, defined by which screen we are currently on and determines the next step of an automation.

Based on the provided Screen Switch Expression condition, it allows your automation to have outcomes, that determines the following step.

Using the Screen Switch Control

With the Screen Switch control, you can add multiple activities to your workflow that will determine the following step, depending on conditions that you set.

  1. In your automation, on the right-hand side panel, go to the Controls section.

  2. Drag and drop Screen Switch in the workflow of your automation.

  3. Select Screen Switch.

    The Screen Switch Expression fields are displayed in the side panel where you can provide the target screens detail.

  4. Click the icon. The Target Selection pop-up is displayed where you can see the list of captured screens.

    For example,

    1. Select the target screen and then click Confirm.

      Similarly, you must provide another target screen as the two target screens are mandatory to use the Screen Switch control.

      For example,

      You can then define the required activities and inputs to determine the next step of an automation.

      In the following example, two screens are defined with Set Element activity and its value. As a result, at runtime, the system looks for a screen and executes the step based on the value defined.