Trigger Automations Using the Project Launcher

The project launcher allows you to launch your automations in attended mode, either manually from the agent or automatically using events as triggers.

Context

Using the project launcher, you can launch your automations in attended mode in two different ways:
  • You can launch your automations manually in attended mode from the agent using the Launch manually from the agent section.

  • You can configure events to trigger and launch your automations automatically using the Launch automatically by events section.

Prerequisites

You have created one or several automations in the Cloud Studio, as described in Create an Automation.

If you want to launch automations automatically by triggering using events, you have declared at least an application, a screen or an element. For more information, see Declaration Phase.

Trigger Automations Manually from the Agent in Attended Mode

You can manually launch your automations from the agent if you add them in the Launch manually from the agent section of the project launcher.

  1. In the Project Explorer left-hand side panel, click the button and then, the Create button. Select Project Launcher.

    A Create Project Launcher window appears.

  2. Enter a name for your project launcher and click Create.

    A project launcher editor opens in the main panel of the Cloud Studio. On the Project Launcher details information right-hand side panel, you can see the automations available in your project.

  3. Drag and drop one or several automations in the Launch manually from the agent section of the project launcher.

  4. Optional: Edit the label of the automation in the project launcher.

    1. Select your automation in the project launcher.

      The Automation details right-hand side panel appears where you can edit the Agent label field.

  5. Save your project launcher.

  6. Generate a package from your project by clicking the Generate Package button in the top right-hand corner of the screen.

  7. In the Factory, find your package and create a trigger of type attended. For more information, see Add an Attended Trigger.

    Once the attended trigger is planned, the project is delivered to your agent.

  8. Open the agent and switch to your new project.

    1. In the agent, click Projects and select your project.

    2. Click Start. A pop-up window appears.

    3. Click OK.

      The project has been uploaded to your agent. Once you close and open the agent again, you can see the project you previously designed in the project launcher editor.

Result

You can now start the automation you added to your project launcher from your agent.

Trigger Automations Automatically by Events

Using the project launcher, you can launch your automations automatically by configuring events to trigger them.

An event is a user action, such as a click on a button or an application that is opened, for instance. This user action acts a a trigger that launches your automation because a notification is sent to the agent when the event occurs.

  1. In the Project Explorer left-hand side panel, click the button and then, the Create button. Select Project Launcher.

    A Create Project Launcher window appears.

  2. Enter a name for your project launcher and click Create.

    A project launcher editor opens in the main panel of the Cloud Studio. On the Project Launcher details information right-hand side panel, you can see the automations available in your project.

  3. Drag and drop one or several automations in the Launch automatically by events section of the project launcher.

  4. Optional: Edit the label of the automation in the project launcher.

    1. Click Add Event.

      The Event details right-hand side panel appears where you can edit the Agent label field.

  5. Click Add Event.

  6. On the Event details right-hand side panel, choose the declared element that will trigger and launch your automation. This declared element can be a software or a website, an application, a screen, or a UI element that you have previously captured and declared using the Application artifact.

  7. Click to open the Target editor and select the declared element you want to target. For more information on how to use the target editor, see Target Editor.

    Click Confirm. You can view a preview of your declared element on the Event details right-hand side panel.

  8. Select the event that will be applied to the declared element from the Launched via dropdown list. The event will be applied to the declared element that you have selected using the target editor.

  9. Optional: Duplicate the event you have just configured by clicking the icon to add another event that can launch your automation.

    You can add as many events as you want to launch the same automation. However, you cannot use the same set of target element and event twice in the same project.

  10. Save your project launcher.

  11. Generate a package from your project by clicking the Generate Package button in the top right-hand corner of the screen.

  12. In the Factory, find your package and create a trigger of type attended. For more information, see Add an Attended Trigger.

Result

As soon as the configured event happens, the agent will automatically launch the automation.