Online Help | Web App

Scheduled Tasks

Introduced in 2022.1

Scheduled Tasks are non-interactive workflow items in Alloy Navigator that run automatically, on schedule, outside of an object's context. This article describes how to customize the default Scheduled Tasks and how to create new ones.

You can work with Scheduled Tasks using the Settings App, under Services > Scheduled Tasks.

IMPORTANT: Scheduled Tasks run on the Automation Server, which must be properly configured and started beforehand. For details, see Automation Server.

Default Scheduled Tasks

The default workflow pack includes several pre-configured Scheduled Tasks for default integrations, such as "Microsoft Intune Integration" or "Microsoft Azure AD Integration". To enable a default workflow integration, you need to customize its workflow configuration under Workflow and Business Logic > Workflow Configuration > Integrations. Then you can test the integration and, if everything works as expected, enable the corresponding task under Services > Scheduled Tasks.

INFO: For instructions on how to use the default workflow integrations, see Integrations. For example, Integrations: Microsoft Azure AD Integration.

To enable or disable a Scheduled Task:

  • In Settings, go to Services > Scheduled Tasks, right-click the desired task, and select Enable or Disable from the pop-up menu.

    Alternatively, you can open the task to reveal ts details and select the Enabled check box above Schedule.

    TIP: You can change the default schedule, if needed.

New Scheduled Tasks

You may want to create new Scheduled Tasks. Once a task has been designed, the workflow engine will run it automatically on the schedule you specify here.

To create a Scheduled Task:

  1. In Settings, go to Services > Scheduled Tasks > Tasks.

    If you want to base the new task on an existing one, select the source task and click Copy Item. To create a new task from scratch, click New.

    The Scheduled Task] window opens.

  2. Enter a descriptive task name. Optionally, add a description.

  3. To be on the safe side, clear the Enabled check box. You can enable the task later.

  4. Review the default schedule and change it, if needed.

  5. Under Programming, specify workflow operations the task will perform when run.

    IMPORTANT: Scheduled Tasks have no object context, that's why some operations, such as Update Field or Relate To, are not available at the first level. You first need to define the context, for example, using a variable.

    • New - adds a new operation or a conditional block:

    • Edit - allows you to modify the selected operation or a conditional block.

    • Delete - removes the selected operation or a conditional block.

    • Move Up - moves up the selected operation or a conditional block and changes the execution order.

    • Move Down - moves down the selected operation or a conditional block and changes the execution order.

  6. Click OK.

TIP: As soon as your task starts, you can view statistics on competed task sessions on the Sessions tab or in the log. For details, see Scheduled Tasks Log.