Workflows - Scheduling Tasks

Overview

These type of Workflows are useful to schedule tasks that take actions on the device in the selected groups. These are useful in automating Dashboard functionality based on time and days. In this section we will see the Workflows of type Scheduled Tasks available and how they work.

All the Workflows of type Scheduled Tasks require the Devices to be Online and in a state to receive Push commands.

The Workflows of type Scheduled tasks follow certain rules that apply to all of them. These are,

  1. For each type of Workflow, each Device Group can have at the maximum of one Workflow.
  2. Workflows of type Scheduled Tasks are scheduled based on Dashboard timezone or the timezone that you select. At the selected time and timezone a push message is sent to the device.
  3. Workflows of type Scheduled Tasks require the device to be online at the scheduled time to receive the push.

Scheduled Switch Profile

  1. What does it Do: This schedules a workflow that automatically changes the Device Profile of a Device Group. The devices in this group will be sent a push notifying of the changes at the scheduled time.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has the devices of the OS type for which the Workflow needs to be created.
    2. Needs at-least 2 Device Profiles for the OS type for which the Workflow needs to be created.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > OS/Platform > Schedule Switch Profile
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Start Time: Select the start time when the the first Device Profile should be applied to the group.
      4. End Time: Select the end time when the second Device Profile should be applied to the group.
      5. Timezone: Select a Timezone when this Workflow should be executed and the devices should be sent a push.
      6. Frequency: Select a Frequency of the Switch Profile
        1. Daily: The Profiles are switched at selected times daily.
        2. Selected Days: The Profiles are switched only on the selected days. On the un-selected days, the Device Profile selected at the End Time is applicable.
      7. Select Profile for Start Time: Choose a Device Profile that should be applied at the start time.
      8. Select Profile for End Time: Choose a Device Profile that should be applied at the end time till the start of next start cycle.
      9. Send Emails: Select if you want to be notified when the profile switch happens.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. The Device Profile of the group is automatically switched at 9AM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Delete: Deletes the Workflow.

Scheduled GeoFence based Switch Profile

  1. What does it do: This schedules a workflow that automatically changes the Device Profile of a Device Group based on Geo-Fence events. The devices in this group will be sent a push notifying of the changes at the change of event.
  2. Supported Platforms: Android
  3. Prerequisites:
  • A Device Group that has the devices of the OS type Android 
  • At-least 2 Device Profiles on the OS type Android
  • Geo-fence applied to the device group 
  • The Device Group with Geo-Fence does not have a time-based Workflow applied to it.
  1. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click Create Flow > Android > Geofence based Switch Profile
    A few conditions need to be met to create a GeoFence based Workflow. They are listed in a box that pops-up when you click Geofence Based Switch Profile. The conditions that are met are marked in green whereas the ones that are not met are marked in red. This box will not pop-up if all the conditions are fulfilled.    
    1. You will get the Workflow creator dialog box
    1. Enter the following details to set a Geofence based Switch Profiles schedule:
      1. Name: Name for the workflow
      2. Select Group: Select group on which you want to apply the workflow.
      Once you select a group, the Current Geofence populates the respective geofence name(s) of which this group is a part. 
      1. Select Move In Profile: From the drop-down select the profile that should be applied when the device is inside Geofence
      2. Select Move Out Profile: From the drop-down select the profile that should be applied when the device is outside Geofence
      3. Send Emails: You can schedule and send an email that contains a log of all the Switch profile events (move in and move out) that have taken place during one day. For this, there are two types of Email settings available:
        1. Global Email settings: The emails will be sent to the ones enabled under Email Settings, that is, Account Owner, Co-account Manager and/or Group admin.
        1. Custom Email settings: The emails can be sent to personal email ids. Enter email ids in the space provided. You can enter up to ten email ids.
      1. You can also schedule a time at which the Switch Profile email will be delivered to the user. In the Geofence based switch profile at, select Time and timezone from the drop-down.

Once all settings are done, click Save. The workflow will get created and start showing in the list of Workflows.

  1. Workflow Features

You can perform following functions on your workflow with these additional features. They are accessible by clicking the three vertical dots on the right side.

Edit: Make changes in the workflow settings through Edit. Clicking on this will open the Workflow creator dialog box where you can edit any of the details.

Delete: This deletes the workflow. Clicking on Delete will show a Confirm Delete box asking you to choose a Device profile for the devices in the group. Once the workflow is deleted, all the devices in that group will be moved to this profile. The Delete button will be active when you select a device profile.

Report: This generates a report of events (move in and move out of devices) that have taken place during the current day.

Scalefusion does not allow: Deleting a Device group if it is a part of a workflow Deleting a geofence if it is a part of a workflow Deleting device profiles if they are a part of a workflow

Scheduled Lock/Unlock

  1. What does it Do: This schedules a workflow that automatically Locks or Unlocks the devices at the scheduled time. The device will be locked between the Locked to Unlocked time and Unlocked on all other times and days.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has the devices of the OS for which the Workflow needs to be created.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > OS/Platform > Schedule Lock/Unlock 
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Lock At: Select the start time when the devices should be Locked.
      4. UnLock At: Select the end time when the devices should be Unlocked.
      5. Schedule for Single App: Select the start time and end time for Single App Mode. This works only if the Device has a Profile and has a Single App Mode set. Else this value is ignored.
      6. Timezone: Select a Timezone when this Workflow should be executed and the devices should be sent a push.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. The devices in the Group are automatically locked Daily at 9AM CST and Unlocked at 5PM CST. Additionally if the Device Group has a Device Profile with a Single App Mode, then the Single App Mode is is set to run between 9AM to 5PM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Attempts to execute this Workflow at this point of time. Based on the defined schedule of the task, it will send a command to Lock the device or Unlock the device.
    4. Delete: Deletes the Workflow.

Scheduled Reboot

  1. What does it Do: This schedules a workflow that automatically sends a command to reboot the all the devices in the device group at the scheduled time.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has the devices of the OS for which the Workflow needs to be created.
    2. The Devices in the Group should support Reboot.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > OS/Platform > Schedule Lock/Unlock 
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Reboot Time & Timezone: Select a time and timezone when the device reboot command should be sent.
      4. Frequency: Select a Frequency for the reboot command to be sent,
        1. Daily: The Reboot command is sent everyday at the scheduled time.
        2. Selected Days: The Reboot command is sent on the selected days at the scheduled time.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5PM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Scheduled Clear App Data

  1. What does it Do: This schedules a workflow that automatically sends a command to all the Android devices in the selected group to clear application data for the selected apps.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has the Android Devices.
    2. The Devices in the Group should support Clear App Data functionality.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Android > Schedule Clear App Data
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Select Apps: Select the applications for which you want to clear the application data.
      4. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
      5. Frequency: Select a Frequency for the Clear-App data command to be sent,
        1. Daily: The Reboot command is sent everyday at the scheduled time.
        2. Selected Days: The Clear-App command is sent on the selected days at the scheduled time.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. A command to Clear-App data is sent to all Android devices in the Group at 1:45PM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to clear-app data for the selected applications. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Schedule Clear Browser Cache

  1. What does it Do: This schedules a workflow that automatically sends a command to all the Android devices in the selected group to clear Scalefusion Browser cache.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has Android Devices.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Android > Schedule Clear Browser Cache
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Time & Timezone: Select the time & timezone when the Clear Browser Cache command is sent to devices.
      4. Frequency: Select a Frequency for the Clear Browser Cache command to be sent,
        1. Daily: The Clear Browser Cache command is sent everyday at the scheduled time.
        2. Selected Days: The Clear Browser Cache command is sent on the selected days at the scheduled time.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. A command to Clear Browser Cache is sent to all Android devices in the Group at 9AM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to Clear Browser Cache on the devices in the group. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Schedule ProSurf Clear Cache

  1. What does it Do: This schedules a workflow that automatically sends a command to all the iOS devices in the selected group to clear ProSurf Browser cache.
  2. Supported Platforms:
  3. Prerequisites:
    1. Needs a Device Group that has iOS Devices.
    2. ProSurf browser needs to be installed on the devices.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > iOS > Schedule ProSurf Clear Cache
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Time & Timezone: Select the time & timezone when the Clear ProSurf Cache command is sent to devices.
      4. Frequency: Select a Frequency for the Clear ProSurf Cache command to be sent,
        1. Daily: The Clear ProSurf Cache command is sent everyday at the scheduled time.
        2. Selected Days: The Clear ProSurf Cache command is sent on the selected days at the scheduled time.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. A command to Clear Browser Cache is sent to all iOS devices in the Group at 9AM.
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed. Please note, there is a known issue with the count for this type of Workflow and will be fixed in the next release of ProSurf.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  6. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to Clear Browser Cache on the devices in the group. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Schedule Broadcast Message

  1. What does it Do: This schedules a workflow that automatically sends a broadcast message to all the devices in the selected group.
  2. Supported Platforms:
Note: The Workflow is available/listed in the Global section.
  1. Prerequisites:
    1. Needs a Device Group that has Android & iOS Devices.
    2. Scalefusion MDM agent needs to be installed and active on the devices.
  2. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Global > Broadcast Messages
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow work.
      3. Time & Timezone: Select the time & timezone when the scheduled broadcast message has to be sent to devices.
      4. Frequency: Select a Frequency for the scheduled broadcast message to be sent,
        1. Daily: The Broadcast message is sent everyday at the scheduled time.
        2. Selected Days: The Broadcast message is sent on the selected days at the scheduled time.
      5. Send Emails: Choose if you want to receive email reports for the Workflow after it is executed.
    4. Click SAVE once done.
  3. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. This Workflow sends broadcast messages to all Android & iOS devices at 09:00 hrs on Daily
    2. The Success On and Failed On shows the number of devices where the push was delivered and where it failed.
    3. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  4. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to send broadcast message to the devices in the group. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Schedule Device Reports

  1. What does it Do: This schedules a workflow that automatically emails you a report (CSV) of the selected Device properties. This can be scheduled for all devices in the inventory or selected groups.
  2. Supported Platforms:
  1. Prerequisites:
    1. Enrolled Devices.
  2. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Global > Device Reports
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Devices/Groups: Choose if this workflow should work for all devices in inventory or only for the devices in selected group.
      Note: A maximum of 1 Workflow for All Devices and 1 for each group can be created.
      1. Select Device Properties: Choose the properties that you want to include in the report.
      2. Email Settings: Choose the target audience for the emails.
      3. Time & Timezone: Select the time & timezone when the device report is sent.
      4. Frequency: Select a Frequency for the device report to be sent.
        1. Daily: The report will be sent daily.
        2. Selected Days: The report will be sent on the selected days at the scheduled time.
    4. Click SAVE once done.
  3. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example Workflow shown in illustration below,
    1. This Workflow automatically emails a CSV file with device details of All Devices based on the fields selected.
    2. The Last Run and Next Run indicate the last time the task was run and the scheduled next run respectively.
  4. Action Menu: By clicking on the 3 dots menu, the following actions can be performed,
    1. Edit: Use this option to edit the Workflow.
    2. Report: Provides the report on historical runs of this Workflow.
    3. Run Now: Executes the workflow at this point of time and sends the command to send device report of the devices in the group. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.


How did we do?


Powered by HelpDocs