Create a service trigger that starts an automation 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 to save the trigger configuration.

Next steps

Configure the required automation using the Actions, and save the automation. When you click Run > Run with triggers, the automation listens for the configured triggers. When any user starts, stops or pauses the Windows Update service, the automation is triggered.