Workflows can be used to install or remove resources in a specific order on your end user devices. You can sequentially install the resources during onboarding your devices into Workspace ONE UEM or when resources have dependencies.
Note: To support removal of resources on your device, a minimum version of VMware Workspace ONE Intelligent Hub 2310 or later must be installed on your device.
Sequencing of the following resources is supported:
Note: In a workflow, you can only select the resources that are available in the system inventory and you cannot add resources from within the workflow. You can add resources into a workflow that is a part of your current organization group (OG) and your parent OG. However, you cannot view the resources managed at your child OG. To view the resources managed at your child OG, you must create a workflow at the child OG level. For more information about the usage of resources from various OGs, see the Working with Freestyle Orchestrator on Multiple Organization Groups topic.
You can create a workflow to install all the applications in sequential order. The sequential installation of applications ensures that the installation of one application is successful before moving to the installation of another application.
The following procedure shows the steps to create a workflow to sequence the installation of applications. In this procedure, the administrator creates a workflow to install Outlook, Zoom, and Skype applications on the devices assigned to an organization group (OG). So, the administrator creates a workflow to first install the Outlook application and then install the Zoom and Skype Outlook plug-ins.
Prerequisites
Before you begin creating a workflow, you must add the Outlook, Zoom, and Skype applications to the app inventory. To add the required applications to the inventory, navigate to your organization group (OG), and follow the procedure at the Deploy Applications to Devices topic in the Application Lifecycle Management guide. You must also add default policies to each of these applications.
Procedure
The following procedure describes the steps to create a workflow to first install the Outlook application and then install the Zoom and Skype applications.
In the right Admin Panel, under the Install Application perform the following steps:
a. In Application, click Search and Select, and enter Outlook in the Search for an existing application.
Note: A list of all the available applications are displayed in the Results section.
b. Navigate to the Outlook application and click Select to select the application.
c. In the Install Application screen, click the Version to select the version of the Outlook application to be installed.
In the left pane, click + > Action > Application to add the Zoom application to the workflow.
In the right Admin Panel, under the Install Application perform the following steps:
a. In Application, click Search and Select and enter Zoom in the Search for an existing application.
b. Click Select to select the Zoom application.
c. On the Install Application screen, click the Version to select the version of the Zoom application to be installed.
In the left pane, click + > Action > Application to add the Skype application to the workflow.
In the right Admin Panel, under the Install Application perform the following steps:
a. In Application, click Search and Select and enter Skype in the Search for an existing application.
b. Click Select to select the Skype application.
c. On the Install Application screen, click the Version to select the version of the Skype application to be installed.
Click Save to save your workflow.
Note: You can create and save your workflow anytime without publishing the workflow to your end user devices. You can return to the Workspace ONE UEM console later to publish a saved workflow.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is assigned to the device, the Outlook application is installed first, followed by the Zoom and Skype applications, according to the order specified in the workflow. The sequential installation of applications ensures that all the applications are installed correctly.
The sequential installation of profiles ensures that a profile installation is complete before moving to the installation of another resource.
Note: Profile sequencing is supported on Windows and macOS platform. The profiles can be referred to in a workflow and assigned to a smart group only after the profiles are added to the system inventory.
The following procedure shows the steps to create a workflow to sequence the installation of profiles. In this procedure, the administrator creates a workflow to first install the passcode policy profile and then install the Wi-fi profile on the devices assigned to a particular OG.
Prerequisites
Before you begin creating a workflow, you must first create the passcode policy profile and the Wi-fi profile. For more information about creating profiles, see the macOS Device Profiles topic in the macOS Device Management guide and Profiles for Windows Desktop topic in the Windows Desktop Documentation guide.
In this example, the passcode policy profile is named passcode-policy-profile and the Wi-Fi profile is named wifi-profile.
Procedure
The following procedure describes the steps to first install the passcode policy profile and then install the Wi-fi profile.
In the right Admin Panel, under the Install Profile perform the following steps:
a. In Profile, click Search and Select, and enter passcode-policy-profile.
b. Select the passcode-policy-profile from the auto-populated list.
In the left pane, click + > Action > Profile to add another profile to the workflow.
In the right Admin Panel, under the Install Profile perform the following steps:
a. In Action, select Install.
b. In Profile, click Search and Select, and enter wifi-profile.
c. Select the wifi-profile from the auto-populated list.
Click Save to save your workflow.
The following profiles need additional steps for using them in workflows:
BIOS: To install a BIOS profile on a device, the Dell Command Monitor (DCM) app must be installed on the device. You must add the DCM app to your inventory, install the DCM app, and then install the BIOS profile. The workflow does not install the DCM app automatically unless the DCM app is added as an explicit step in the workflow.
OEM updates: To install an OEM profile on a device, the Dell Command Update (DCU) app must be installed on the device. You must add the DCU app to your inventory, install the DCU app, and then install the OEM profile. The workflow does not install the DCU app automatically unless the DCU app is added as an explicit step in the workflow.
Kiosk: To install the Kiosk profile and set up the Kiosk mode on your devices, you must add a workflow step to install the required apps in the Kiosk mode and then install the Kiosk profile.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is assigned to the device, as per the order specified in the workflow the passcode-policy-profile is first installed and then the wifi-profile is installed. The sequential installation of profiles ensures that all the profiles are installed correctly.
As an administrator, you can create a workflow to run scripts based on specific condition rules or in sequential order with other resources. The following procedure describes the steps to create an example workflow to use a sensor condition to determine if a device’s printer access is enabled. If the printer access is not enabled, run a script on the device to refresh the printer configuration.
For more information about creating scripts, see the Create a Script for macOS Devices topic in the macOS Device Management guide and the Create a Script for Windows Desktop Devices topic in the Windows Desktop Documentation guide.
Note: If you are publishing scripts to less than 2000 (default value) devices, the devices are notified immediately to fetch the resource. However, if the smart groups assigned have more than 2000 devices, then the devices will receive the resource the next time the devices checks-in with Workspace ONE UEM console.
Prerequisites
Before creating a workflow, you must first create the sensor to check the printer access. In this example, the macOS Bash sensor to check for printer access is named printer_status and the response data type is string.
/usr/bin/lpstat -p 2>/dev/null | awk '{print $5}' | sed '/^$/d'
If the printer is configured correctly, the sensor must return the string enabled. You can then create a script to refresh the printer service. For more information about creating scripts, see the Create a Script for macOS Devices topic in the macOS Device Management guide and the Create a Script for Windows Desktop Devices topic in the Windows Desktop Documentation guide.
In this example, the macOS Bash script to refresh the printer service is named refresh_printer.
do
/usr/bin/cancel -ax
/usr/sbin/cupsdisable $printer
/usr/sbin/cupsenable $printer
echo "Refreshed $printer"
done
If the script runs successfully, it must complete with an exit (return) code of 0, in which the workflow updates the status as successful.
Note: The scripts can be added in workflow and assigned to a smart group only after the scripts are created.
Procedure
The following procedure describes the steps to create a workflow with a sensor condition to check the printer status on all devices in the assigned smart group and then run a script on devices that cannot access the printer to refresh the configuration.
Click If > Sensor and click search in the Sensor screen.
Note: In the Filter (If) screen, you can click the Additional Settings tab and enable the Re-evaluate Condition option. If there is any change in the sensor value or change in the workflow itself, this setting re-evaluates the condition and retriggers the workflow steps if needed.
Enter the sensor name printer_status and Does Not Include from the drop-down and enter enabled in the required information field.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is assigned to the device, as per the order specified in the workflow, first the sensor to check for the printer status printer_status is run, and then if needed, the script to refresh the printer configuration refresh_printer is run.
An administrator can create a group in a workflow and add all the required applications, profiles, and scripts to be installed on the devices to the workflow. The resources added to a group do not follow any sequence during the installation. A combination of applications, profiles, and or scripts can be installed at the same time on the device.
In this example, an admin creates a group to install the Wi-Fi profile, the Global Protect application, and install the Google Chrome application on the device.
Prerequisites
Before you begin creating workflows, the admin must create a Wi-Fi profile, add the Global protect application, and the Google Chrome application to the system inventory. In this example, the Wi-Fi profile is named wifi-profile, the Global protect application is named global-protect, and the Google Chrome application is named chrome.
Note: Only after the application and profile are created, the application and profile can be added in a workflow and assigned to a smart group.
Procedure
The following procedure describes the steps to create a workflow to add a group to the workflow and add all the resources into the group.
In the Install application screen, perform the following actions to add the Global protect application.
a. In Application, click search and select the global-protect application to install. The Results section displays a list of all available applications.
b. In Version select the version of the application to be installed.
In the right Admin Panel, under the Install Application page click Add and select Application.
In the Install application screen, perform the following actions to add the Google Chrome application.
a. In Application, click search and select, enter chrome application to install. Select the chrome application from the auto-populated list.
b. In Version select the version of the application to be installed.
Click Save to save your workflow.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is assigned to the devices, the resources in the workflow group start installing on device check-in.
An admin can create a workflow for one-time removal of an application and/or profile from a device. After the workflow is deployed on the device, the app or profile is uninstalled. If there is any other source of installation of the same application or profile through another workflow or direct assignment, then the application and profile is reinstalled on the device. This feature is available only for Windows devices.
An admin can use the remove application workflow feature in the following scenarios:
Note: For some operating systems, admins cannot install an older version of an app if a newer version is installed on the device. In such a scenario, admins can use this feature to first remove the newer version of the app and then install the older version.
Admins can use the remove profile workflow feature when an admin needs to update profiles in the following scenarios:
You can create a workflow for one-time removal of applications from devices. The following procedure describes the steps to create a workflow to remove applications from devices. In this procedure, the administrator creates a workflow to remove 7-Zip app from all devices assigned to an organization group (OG).
Prerequisites
Before you begin creating a workflow, you must ensure that the 7-Zip app is available in your system inventory. Navigate to Resources > Apps to check the available resources in your system inventory.
Procedure
The following procedure describes the steps to create a workflow to remove 7-Zip app from all devices assigned to an OG.
Click Freestyle > Freestyle Orchestrator and click New.
Enter a name in the New Freestyle Workflow. You can add an optional description to your workflow.
In the right Admin Panel Workflow Settings, select the Platform from the drop-down menu, and select Smart Groups to which you want to assign this workflow. This feature is available only for Windows devices.
In the left pane, click + > Action > Remove Application.
In the right Admin Panel, under the Remove Application perform the following steps:
a. In Application, click Search and Select, and enter 7-Zip in the Search for an existing application.
Note: A list of all the available applications is displayed in the Results section.
b. Navigate to the 7-Zip 22.01 (x64 edition) application and click Select to select the application.
c. In the Remove Application screen, click the Version to select the version of the 7-Zip application to be removed. Select 9.20.0.0.
Click Save to save your workflow.
Note: You can create and save your workflow anytime without publishing the workflow to your end user devices. You can return to the Workspace ONE UEM console later to publish a saved workflow.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is deployed to the device, the 7-Zip app with version 22.1.0.0 gets uninstalled from the device. To view the uninstalled app, navigate to Devices > List View and click the device on which the app is uninstalled.
On the device Details View screen, click Apps. The App Installation status displays that the app has been removed.
You can create a workflow for one-time removal of profiles from devices. The following procedure describes the steps to create a workflow to remove a profile from a device. In this procedure, the administrator creates a workflow to remove VPN profile from all devices assigned to an organization group (OG).
Prerequisites
Before you begin creating a workflow, you must ensure that the VPN profile is available in your system inventory. Navigate to Resources > Apps to check the available resources in your system inventory.
Note: To remove profiles from devices, the profile assignment type must be set as optional.
Procedure
The following procedure describes the steps to create a workflow to remove the VPN profile from all devices assigned to an OG.
Click Freestyle > Freestyle Orchestrator and click New.
Enter a name in the New Freestyle Workflow. You can add an optional description to your workflow.
In the right Admin Panel Workflow Settings, select the Platform from the drop-down menu, and select Smart Groups to which you want to assign this workflow. This feature is available only for Windows devices.
In the left pane, click + > Action > Remove Profile.
In the right Admin Panel, under the Remove Profile page perform the following steps:
a. In Profile, click Search and Select, and a list of all available profiles is displayed.
b. Enter VPN in the Search for an existing profile tab and select the VPN profile that is auto-populated.
Click Save to save your workflow.
Note: To remove profiles from devices, the profile assignment type must be set as optional.
Results
You can view the saved workflow in the Freestyle Orchestrator dashboard. When the workflow is assigned to the devices, the VPN profile is uninstalled from the device. To view the uninstalled profile, navigate to Devices > List View and click the device on which the app is uninstalled. On the Device Details page, click Profiles to view the status of the uninstalled profile.