The lifecycle of a workflow includes different phases. This section describes all the phases of a workflow.
An admin can create workflows and save the workflows at any time, even if the workflow state is incomplete. You can view all the saved workflows in Freestyle Orchestrator dashboard list view. You can resume editing of any saved workflow at any time. All the required elements and steps must be complete before publishing your workflow.
When all the required elements within a workflow are complete and the workflow steps have no errors, you can publish the workflow to your end user devices. After you save and publish your workflow, the resources within a workflow do not get installed on the devices. When the device regularly checks for any updates, the workflow resources start installing. Once a workflow is published, any additional changes to the workflow are also published without an intermediate save option.
In an OG, multiple admins can modify an already published workflow. For example, an admin modifies a workflow and publishes the workflow, subsequently another admin also modifies the same workflow and publishes the workflow. As a best practice, before publishing a workflow, admins must enter the change log accurately to track the changes made to a workflow. The change log provides information about the changes made to the workflow and the admin details who modified the workflow.
After you successfully publish the workflow to the devices, you can modify the individual resources in a workflow or change the workflow itself. When you modify the workflow or the workflow resources, you create a newer version of the workflow. When a workflow is first saved and published the workflow version number is 1 and with every update to the workflow the workflow version number is incremented by 1. You can find the workflow version information in the header when you open a workflow's details page.
You can publish a newer version of the workflow to the devices. When the devices check-in for updates, the devices receive a new version of the workflow, else, the device is marked out-of-date.
Note: Changing the workflow assignments do not trigger a new version of the workflow.
As an admin, you can perform the following changes on the workflows:
When you navigate to Freestyle > Freestyle Orchestrator dashboard, select and click on a workflow, the workflow details page is displayed. The workflow details page lists all the devices that are assigned to this workflow. You can select a single device from the device list and perform actions such as Sync workflow and Force execute a workflow.
The Sync workflow option sends any updates to the device and fetches the workflow status information from the device. The Sync workflow action updates outstanding changes to all the workflows. To sync your workflow to devices, navigate to Devices > List View > Select and click on any device > click More Actions and select Workflows.
An admin can also select any device and force execute a workflow on the device. The Force execute action re-runs the entire workflow on the device irrespective of the previous state of the workflow, that is, even if the workflow execution is in progress or in a completed state, the workflow is again run on the device when you select the Force execute action. You can navigate to Devices > Details View > and click the Workflows tab and run the Force execute action to re-run the entire workflow on the device irrespective of the previous state of the workflow.
In case, there is an issue with the workflow deployment, you can pause the deployment using the Pause action. The administrator can modify the workflow to make the necessary changes and resume the deployment of the workflow to the devices.
You can delete a workflow when the workflow is no longer applicable to devices. If you have the permissions, you can delete any workflow created at a given organization group (OG). Deleting the workflow does not trigger the removal of resources from the assigned devices.
To delete a workflow, perform the following steps:
The Freestyle Orchestrator dashboard displays a list of all the workflows that are saved and published. You can navigate to Freestyle > Freestyle Orchestrator to view a list of all the workflows. The dashboard provides the following details of the workflow:
You can also click on any individual workflow in the dashboard to view the details of the workflow. The following workflow details are displayed:
When admins create a workflow, the admins can configure deployment options for individual workflows. In the workflow Admin Panel, after you enter the Platform and select a smart group for your workflow the following deployment options are displayed:
Auto Deploy - If this option is selected, upon device check-in, the workflow is automatically deployed on the end user's devices.
Show in App Catalog - If this option is selected, you must enter the Display Name and optionally enter the Display Description and upload an image in the Icon. These options are displayed on the Workspace ONE Intelligent Hub catalog under the Apps section on the end user's device. The end users can click the install action and start the workflow installation immediately.
The end users can view the assigned workflows in the Workspace ONE Intelligent Hub app catalog. The admins cannot view a list of devices that are assigned with a workflow immediately. But when the end user initiates the workflow installation at least once, then the devices start showing the workflow in the Workspace ONE Intelligent Hub app catalog. When you publish the workflow, you might not view any devices, but the end users can view the workflows in the Workspace ONE Intelligent Hub app catalog. Once the end users install the workflow, the admins can view the status of the workflow. There are no admin-side actions to force execute a workflow.
Auto Deploy and Show in App Catalog - If this option is selected, the workflow is published to the devices on next check-in and the end users can view the workflow in their Workspace ONE Hub catalog under the Apps section. When required, the end user can initiate the workflow action.
Note: Admins can select either of the deployment options for their workflows. After the admins publish the workflow, the workflow is added to the Freestyle Orchestrator list view and is also displayed on the end users Workspace ONE Intelligent Hub app catalog.