In this article:
Overview - Overview to scheduling
Workflow Scheduling - How to setup business workflows to execute a schedule
Overview
Note: The only workflow type that can be setup directly to run on a schedule are business workflows. Server and Client workflows cannot be scheduled outside of a policy. To schedule a server or client workflow, an appropriate schedule would need to be added to the policy associated with that workflow (such as a content push policy or Client Health execution policy).
Business workflows can be set to execute on any built-in or custom schedule. Use cases include:
- Automation of business process tasks
- Examples: Automating active directory cleanup, Configuration Manager housekeeping, Adaptiva Health monitoring etc.
- Server-side monitoring
- Examples: Checking the row count in a database, processing new entries in a table, parsing event logs on the server etc.
- Orchestration tasks
- Examples: Adding machines into a ConfigMgr collection, setting up deployments, powering down VMs etc.
Workflow Scheduling
Workflow scheduling is performed via the Workflow Management Perspective under the Misc folder in the Adaptiva workbench.
Inside the workflow management perspective, select the option on the left-hand side to Manage Business Workflows.
In the list of Business Workflows, select the workflow that you wish to schedule and then in the Workflow launch settings panel at the bottom, click Add.
Give the schedule object a name (e.g. Every 1 hour) and Description.
If the workflow has an associated form object, click Launch Form and then populate the form fields with the default values that the scheduled execution should use each time it runs.
In the Schedule List section, click on Add Schedule. Select the schedule you wish to use.
Note: If a schedule does not exist already, you can create a new schedule using the Schedule Perspective under Misc.
Once the schedule has been added, click on the Schedule in the Schedule list (this will enable the OK button) and then click OK.
The schedule will appear in the Workflow launch settings table at the bottom of the perspective. To have the workflow launch automatically when the AdaptivaServer service is started, check the box to Automatically launch the selected workflow when the server starts up.
To delete the schedule (this will not delete the workflow itself), click the Remove button.
With workflow execution schedules in place, the workflow will execute on the specified schedule. To view the workflow execution results, please consult the workflow execution logs in the Server workflowlogs folder
(Default: C:\Program Files\Adaptiva\Adaptiva\AdaptivaServer\logs\workflowlogs)
Comments
0 comments
Please sign in to leave a comment.