Freestyle Orchestrator workflows can be used with your direct resource deployments to meet your company's orchestration needs. Workflow management involves three main components as shown in the following illustration.
Figure 2-1. Freestyle Orchestrator Workflow Management
Learn how to create workflows with Freestyle Orchestrator in the following sections.
Before you begin creating workflows, you must add the required resources to your system inventory. The resources can be applications, profiles, or scripts and they can be staged at your OG or the parent OG. However, you need not assign the resources to devices during the creation process.
For staging application resources, in addition to the package and metadata, you must create an app policy as the default policy when the app is used in any workflow for all your devices. When an app without a default policy assignment is selected in a workflow, you might see an error, and publishing the workflow is blocked until a default policy is created.
When you add a script or sensor resource, identify the trigger, and stage your script or sensor. For information about creating your resources, see the following topics:
When all the required resources are added to the system inventory, you can start creating workflows. The following list describes the high-level steps to create a basic workflow:
When you save and publish the workflow, the devices do not install the resources in the workflow immediately. When the device checks for any updates, the resources get installed only if the device is entitled to receive a workflow. The default device check-in interval time is 4 hours and can vary based on your configuration.
Note: After you save and publish a workflow, you cannot edit the Platform field of the workflow. If you try to change the platform associated with the workflow, the following warning message is displayed "Changing the platform will erase all the other resources, steps, actions you have entered into the workflow. Are you sure you want to continue?"
If you click Change Platform, then all the resources added to the workflow are deleted. However, the already selected Smart Group for the workflow is not impacted. Any number of smart groups can be added to the workflow at any time while creating the workflow.
For more information about creating workflows, see the following topics:
After you create and assign the workflows to the devices, you can monitor the progress of the workflow deployment. You can view the progress of the workflow for all the assigned devices, or you can view the progress of the workflow for individual devices. Navigate to the Device details page and check the workflow section for more details of individually targeted validations. Additional event logs for devices depict how the device is responding to the workflow.
You can configure the settings for your workflow. To configure the default workflow settings, perform the following procedure:
Table 2-1. Freestyle Orchestrator Workflow Settings
|Timeout||720 minutes||The maximum time to wait for a workflow step to complete. Specify the value in minutes, days, or hours.|
|Retry After||200 hours||The time interval after which the workflow steps with errors are retried. Specify the value in minutes, days, or hours.|
|Maximum Retries||3||The maximum number of retries a system can perform to reinstall a workflow step or the workflow itself.|
|Backoff rate||1.5||A multiplier that determines the interval between subsequent retries.|
|Retry Interval||NA||Product of Retry After, Retry Number, and Backoff Rate.|
3.Click Save to save the workflow settings. If there are no validation errors, the workflow settings are saved.
Note: The Restore Defaults restores all the default values of the workflow.