Workflow Scheduling
This section covers the following:
- Starting a workflow
- Basic scheduling
- Scheduling using different credentials
- Recurring workflows
There will be times, say during workflow development or with workflows tied into web views, that you will want to start a workflow manually. Do this by drilling down to the workflow you want to execute and right-clicking it. You can do this and select Start Workflow, as shown in Figure 6.17.
For most maintenance tasks, you will work with scheduled workflows. This will enable you to execute the maintenance without having to be awake during the maintenance window. Unless you want to be, that is. To schedule a workflow, you have two options: Schedule Workflow, which stores the credentials of the user scheduling said workflow, or Schedule Workflow As, which enables you to supply the credentials of a service account. We are going to work with Schedule Workflow As to schedule the “Email vCO Logs” workflow we created earlier to run once a week. To do this, follow these steps:
- Right-click the workflow and select Schedule Workflow As.
- In the resulting window, provide credentials.
- Under Run Date and Time, select Tuesday at 11 a.m.
- Set the recurrence to Tuesdays at 11 a.m.
- Submit the workflow.
Figure 6.18 shows the Scheduling window filled out with these options. After you submit the workflow, it shows up under the Scheduler section in the vCO Client, as shown in Figure 6.19.
Figure 6.18 Workflow Scheduler window
Figure 6.19 Scheduled workflow