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:
An admin can build workflows using a list builder or a flow builder. A list builder helps admins to build workflows using a structured list whereas a flow builder helps admins to build workflows using free-form flowchart tools.
If a workflow is created in the flow builder and the admin switches to the list builder, the same workflow appears in the list builder. The following figure shows the list builder and flow builder icons displayed on the flow builder workflow screen.
Figure 2-2. List Builder and Flow Builder Icons
A flow builder provides an interaction pane for the admins to create and visualize complex workflows having multiple branches with nested conditions. In a flow builder the workflow steps are displayed in the form of a flow chart. An admin can drag and drop any workflow resources such as apps, profiles and so on the flow builder canvas.
In a list builder all the steps in a workflow appear in the form of a list and the sub-steps in a workflow is indented within the steps. An admin can reorder the steps in a workflow after creating the steps in a workflow. The following figure shows an image of a list builder.
Figure 2-3. List Builder View
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 default settings for all your workflows and also override these settings in the individual workflows. To configure the default workflow settings, perform the following procedure:
Table 2-1. Freestyle Orchestrator Workflow Settings
Field | Default Value | Description |
---|---|---|
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.