check-circle-line exclamation-circle-line close-line

<

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.

Learn how to create workflows with Freestyle Orchestrator in the following sections:

Stage Workflow Resources

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:

  • To create an application, and for more details about default policy creation, see the Deploy Applications to devices topic in the Application Lifecycle Management guide.
  • To create a profile, see the macOS Device Profiles topic in the macOS Device Management guide and Workspace ONE UEM Profiles for Windows topic in the Windows Desktop Device Management guide.
  • To create a sensor, see the Collect Data with Sensors for macOS Devices topic in the macOS Device Management guide and the Collect Data with Sensors for Windows Desktop Devices topic in the Windows Desktop Device Management guide.
  • To create a script, see the Scripts for macOS Devices topic in the macOS Device Management guide and the Create a Script for Windows Desktop Devices topic in the Windows Desktop Device Management guide.

Create you Workflow

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:

  1. Add a name to your workflow.
  2. Select the platform and smart group for your workflow. All devices in the smart group to which the workflow is assigned, perform the actions specified in the workflow upon publish.
  3. Add the resources to the workflow in the order you want the resources to be installed on the devices.
  4. Save your workflow. At any time, you can open any saved workflow and modify the workflow as required.
  5. Publish your 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:

Monitor Workflow Performance

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.

Configure the Workflow Settings

You can configure the settings for your workflow. To configure the default workflow settings, perform the following procedure:

  1. Navigate to Freestyle > Freestyle Orchestrator.
  2. Click the Settings option to open the workflow Settings page and enter the following fields.

    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.