Scheduling Tasks
  • 16 Aug 2024
  • 19 読む分
  • PDF

Scheduling Tasks

  • PDF

The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約

Overview

These types of Workflow are useful for scheduling tasks that take action 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 Workflow of the type of Scheduled Tasks available and how they work.

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 a maximum of one Workflow.
  2. Workflows of type Scheduled Tasks are scheduled based on the 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 the type Scheduled Tasks require the device to be online (except few workflows for Android, which also work in offline mode) at the scheduled time to receive the push.
  4. Newly created workflows need the device to be online at least once to sync workflow parameters with the server for offline execution.
    Offline Workflow execution (applicable on Android devices):
    1. The offline support will be available for SF Agent version 7.6 onward only. Devices on lower versions will still need to be online to execute workflows.
    2. Offline execution support is only for Scheduled Workflows. Instant Runs (run now) will still require devices to be online in order to execute tasks.
    3. The following Workflows get executed on Android devices when the device is offline:
      1. Reboot
      2. Clear App Data
      3. Clear Browser Cache
      4. Broadcast Messages
      5. Lock Unlock
      6. Clear Files And Broadcast Messages
      7. Switch Profile
      8. Geofence Switch Profile

Types of Workflows:

  1. Switch Profile
  2. GeoFence-based Switch Profile
  3. Publish Apps
  4. Lock/Unlock
  5. Reboot
  6. Clear App Data
  7. Clear Browser Cache
  8. ProSurf Clear Cache
  9. Broadcast Message
  10. Device Reports
  11. Switch Presentation
  12. Device Management Event Summary

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 notification 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 > select the OS/Platform for which you want to create the workflow > click on Switch Profile.
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow works.
      3. Start Time: Select the start time when 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 the 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 is shown in the illustration below,
    1. The Device Profile of the group is automatically switched at 9 AM.
    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.

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 notification of the changes at the change of event.
  2. Supported Platforms: Android, iOS
  3. Prerequisites:
    1. Device Group with devices in it should be existing 
    2. At least 2 Device Profiles
    3. Geo-fence applied to the device group 
    4. The Device Group with Geo-Fence does not have a time-based Workflow applied to it.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click Create Flow > Android / iOS > Geofence-based Switch Profile.
    3. You will get the Workflow Creator dialog box.
    4. Enter the following details to set a Geofence-based Switch Profiles schedule:
      1. Name: Name for the workflow
      2. Select Group: Select the group on which you want to apply the workflow.
      3. Select Move-In Profile: From the drop-down, select the profile that should be applied when the device is inside Geofence
      4. Select Move Out Profile: From the drop-down, select the profile that should be applied when the device is outside Geofence
      5. 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.
        2. 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.
      6. 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.
  5. Workflow Features:
    You can perform the following functions on your workflow with these additional features. They are accessible by clicking the three vertical dots on the right side.
    1. 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.
    2. 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.
    3. 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

Publish Apps

  1. What does it Do: This schedules a workflow that automatically sends a push for publishing an app on a device at the set time and date.
  2. Supported Platforms: Android, iOS
  3. Prerequisites:
    1. Device Profiles are created on 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 > Publish Apps
    3. Enter the following Details,
      1. Name: Name of the Workflow
      2. Select App: From the drop-down list, select the app which you want to publish. The Apps under Play for Work Apps, Apple App Store and Enterprise Store are listed here. You can select one app at a time.
      3. Select Profile(s): Select the profiles on which the app should be published
      4. Select Date: Choose the date on which you want to publish the app
      5. Time and Timezone: Select the time and 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 is shown in the illustration below,
    1. The devices on which the selected device profile (in the workflow) is applied will have the Chrome app published automatically on 05-03-2020 at 03:00 PM Asia/Kolkata timezone.
    2. The Success and Failed 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 next scheduled 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.

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 > Lock/Unlock 
    3. Enter the following Details.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example, Workflow is shown in the illustration below,
    1. The devices in the Group are automatically locked Daily at 9 AM CST and Unlocked at 5 PM CST. Additionally, if the Device Group has a Device Profile with a Single App Mode, then the Single App Mode is set to run between 9 AM to 5 PM.
    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 in 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.

Reboot

  1. What does it Do: This schedules a workflow that automatically sends a command to reboot 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 > Reboot
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow works.
      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 every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

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 > 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 works.
      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 every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

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 the 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 works.
      3. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
      4. Frequency: Select a Frequency for the Clear-App data command to be sent,
        1. Daily: The Reboot command is sent every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

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 the 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 works.
      3. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
      4. Frequency: Select a Frequency for the Clear-App data command to be sent,
        1. Daily: The Reboot command is sent every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

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: Android, iOS, macOS, Windows
  3. Prerequisites:
    1. Needs a Device Group that has Android & iOS Devices.
    2. Scalefusion MDM agent needs to be installed and active on the devices.
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Global > Broadcast Message
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow works.
      3. Sender's Name: Configure Sender’s name
      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 every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

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:
  3. Prerequisites:
    1. Enrolled Devices.
  4. 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 Groups: Select one or more groups where this Workflow works.
      3. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
      4. Frequency: Select a Frequency for the Clear-App data command to be sent,
        1. Daily: The Reboot command is sent every day 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 is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    2. 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 in time and sends the command to reboot. The scheduled time in the Workflow is ignored.
    4. Delete: Deletes the Workflow.

Switch Presentation

  1. What does it Do:  This schedules a workflow that dynamically switches presentations on your selected device groups, based on the start time and end time you specify.
  2. Supported Platforms: Android, iOS, Windows
  3. Prerequisites:
    1. Device Group that has Android, iOS or Windows Devices.
    2. Scalefusion MDM agent needs to be installed and active on the devices.
    3. Two Presentations should be there
    4. Android and Windows Devices - FileDock should be installed and running in Single App Mode.
    5. iOS Devices - Scalefusion MDM client should be set in Single App Mode
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Global> Switch Presentation.
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Select Groups: Select one or more groups where this Workflow works.
      3. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
      4. Frequency: Select a Frequency for the Clear-App data command to be sent,
        1. Daily: The Reboot command is sent every day at the scheduled time.
        2. Selected Days: The Clear-App command is sent on the selected days at the scheduled time.
      5. Select Presentation for Start Time: Select the Presentation that should run on the grouped devices during the timeframe (Start time and End Time) you have selected
      6. Select Presentation for End Time: Select the Presentation which should run on the grouped devices other than the timeframe (Start time and End Time) you have selected
      7. Send Emails: Choose if you want to receive email reports for the Workflow after it is executed, where you can schedule and send an email that contains a log of all the Switch Presentation events that have taken place during one day.
    4. Click SAVE once done.
  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example, Workflow is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    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.

Device Management Event Summary

  1. What does it Do: With this workflow, you can set alerts to send email notifications on device management events like Device Unenrolled, Factory Reset, Deleted etc.
  2. Supported Platforms:
  3. Prerequisites:
    1. Device(s) should be enrolled with Scalefusion
  4. How to Create:
    1. Navigate to Reports & Workflows > Workflows
    2. Click CREATE NEW > Global > Device Management Event Summary
    3. Enter the following Details,
      1. Name: Name for the Workflow
      2. Event Type: Select one from the following events:
        1. The device becomes Unenrolled: Sends a list of devices that have been unenrolled where the user removes the MDM profile from the device. This is applicable on iOS, macOS and Windows devices.
        2. Device Factory Reset: Lists devices that have been factory reset.
        3. Device Deleted: Sends list of devices deleted from the dashboard.
      3. Send Emails To: The drop-down lists all admins registered with Scalefusion. Select the ones to whom you have to send device-related alerts. You can select multiple admins. If you want to send alerts other than admins, enter email addresses in the second field.
      4. Send Email: Select a Frequency for the alert,
        1. Daily: The selected event runs daily at the scheduled time.
        2. Selected Days: The selected event runs on the days you select at the scheduled time.
      5. Time & Timezone: Select the time & timezone when the clear app data command is sent to devices.
    4. Click SAVE once done.

  5. Example: Clicking on a Workflow shows the expanded view and gives additional details. In the example, Workflow is shown in the illustration below,
    1. A command to Reboot is sent to all Android devices in the Group at 5 AM.
    2. 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.
  7. Here is a sample CSV showing information that you receive for devices deleted when the workflow gets executed.

Known Behaviors

  1. In Switch Presentation Workflow, Success/Failed indicators are redundant. As a result, count of Success/Failed is not generated in reports.
  2. Broadcast Message Workflow for iOS reports as Failed though it succeeds. Due to this, the count of Read vs Success for iOS does not match in the details and reports view.
  3. Lock/Unlock Workflow for iOS indicates both Success and Failed count simultaneously, when executed.



この記事は役に立ちましたか?