Add a service trigger

Starts a bot when any of the predefined actions occur on the selected service in Microsoft Windows.

This procedure is for a scenario where you want to configure a trigger to start a bot when the Windows Update service is started, stopped or is paused by a user.

Procedure

  1. On the left pane, click Automation.
    A list of available bots and forms is displayed.
  2. Click Create new > Bot.
  3. Enter a name for the bot.
    All the bots are stored in the \Bots folder. (Optional) Click Browse to change the folder.
  4. Click Create & edit.
  5. In the bot builder page, click Triggers > Service trigger.
  6. Drag Service into Drag a trigger here.
    The Service trigger: Service editing panel appears.
  7. Click drop-down menu and select Windows Update.

    Refresh the drop-down menu if none of the services are listed.

  8. Select the following checkboxes to set the trigger condition for the Windows Update service:
    • Starts
    • Stops
    • Pauses
  9. Optional: Use the Assigned to drop-down menu to assign a variable.
    If you want use the Variables tab to create a variable, ensure you select the Use as input check box for it to appear in the Assigned to (optional) drop-down menu.
  10. Click Save.
  11. Click Run > Run with triggers.
    The preset trigger is created, and the bot is triggered when any user starts, stops or pauses the Windows Update service.