Set up a Scheduled Task to Deactivate Scheduling of Datasets

Explanation

This activity is used to set up a scheduled task to deactivate Send Data for Scheduling schedule tasks as well as to deactivating an entire Dataset in Mobile Workforce Management. There are specific parameters that need to be defined before the task can be executed as a background job. The scheduled task for deactivating a dataset will have the following parameters:

Parameter Description
Dataset ID The identity of the dataset that should be deactivated or for which schedule tasks should be deactivated. '%' can be entered if all datasets should be deactivated.
Deactivate Dataset Determines if the specified dataset should be deactivated. If the checkbox is selected, the dataset will be deactivated and all broadcasts for the defined dataset will be stopped.
Deactivate Tasks Determines if schedule tasks for the specified dataset should be deactivated. If the checkbox is selected, schedule tasks defined for the defined dataset will be stopped.
Input Type The type of schedule task for the specified dataset that should be stopped from transferring data to Mobile Workforce Management. Valid parameter values are Load or Change. If a parameter value is not entered, both Load and Change type schedule tasks will be deactivated.

Prerequisites

To perform this activity, the database method for deactivating a scheduled task must have been set up with the required security settings.

System Effects

As a result of this activity, a dataset and/or schedule tasks per dataset will be deactivated.

Window

New Database Task Schedule

Related Window Descriptions

Create New Database Task Schedule
Scheduled Database Tasks

Procedure

  1. Open the New Database Task Schedule window and create a new record (F5).
  2. In the Task Name field, query for the task "Deactivate Scheduling". This will automatically set the Schedule Name.
  3. Change the Schedule Name if required.
  4. To define when the scheduled task should be performed, click one of the options under Schedule and enter the time in the Time field.
  5. Enter a valid Dataset ID using list of values under Parameters, or use '%'  for all datasets.
  6. In Deactivate Dataset select the checkbox if you want the schedule task to deactivate the Dataset/Datasets defined in the parameter Dataset ID.
  7. In Deactivate Tasks select the checkbox if you want the schedule task to deactivate schedule tasks for the Dataset/Datasets defined in the parameter Dataset ID.
  8. In Input Type define what kind of Send Data for Scheduling schedule task should be deactivated.
  9. Enter the language and start and stop dates under Advanced.
  10. To activate the scheduled task, select the Active check box.
  11. Save the record (F12).