Configuring Tasks

In this section:

Tasks enable you to create asynchronous action items that must take place in a scripted and manner that can be scheduled. Tasks are designed to run scripts, which can perform multiple actions in an automated fashion without direct user interaction.

To access Tasks screen, on the left hand side under the Administration, select Tasks. The screen will display a list currently defined tasks.

Click the down-arrow on the Single Pane of Glass / Tasks menu, to bring up a list of queued tasks for execution.

The list of queued tasks represents not only user-defined tasks, but also system level tasks being performed.

The general status of the task and its execution is displayed. The Mode is indicated as either a recurring task which is denoted by a round arrow, or as a onetime task which is denoted as a small clock.

To filter by task status, you may click on the filters shown on the top of the Queue menu to see tasks of specific status, such as failed or pending.

To switch back to the Task Management view, click on the Single Pane of Glass /Queue drop-down and select Manage Tasks.


Top of page

x
Adding Tasks

How to:

This section describes how to add a task.



x
Procedure: How to Add a Task
  1. Under the Managed Tasks view, click Add to add a new task.

    A Create Task screen is displayed.

    Note: Before a task can be added, a task execution script must exist on the system. For more information on script management, see Managing Files and Artifacts.

  2. Provide the name and description for the task being created.

  3. From the drop-down, select the script(s) being associated with the task for execution. Click Next.
  4. If the script expects parameters for execution, they can be provided on the next screen. Fill in the Name/Value for the parameter and click Add Param. Repeat this step to add multiple parameters, as shown in the following image.

  5. Click Next.

    The scheduling screen is displayed.

    If no scheduled date is defined, the script will be executed right away upon creation and run only once.

  6. To add specific execution date/time, click on the day of the week and provide a time (using hh:mm format) based on a 24-hour system. Click Add run time, as shown in the image below. Repeat the steps to add multiple times for execution.

    The configured execution times are displayed for review.

    The Repeat switch can be turned on/off by sliding the bar. If task is repeating, then it will execute on a given day/time every week. If the task is non-repeating, it will execute only once on a given schedule.

  7. Click Next to review the summary of the task, as shown in the following image.

  8. Click Finish to complete the process.

When the screen is updated, the task is can be viewed in a list of available tasks.

Going into the Queue view of the tasks will show all scheduled executions for the task and their status.

Note: The scheduling is approximate within minute and long running tasks will be displayed in pending status during execution.


Top of page

x
Removing a Task

How to:

This section describes how to remove a task.



x
Procedure: How to Remove a Task
  1. Under the Managed Tasks view, click the Remove link to remove a task.

  2. A confirmation message is displayed. Click OK to remove the task.

The task will be removed from the system.

The task can also be Deactivated from execution rather then removed by selecting a task and clicking on the Deactivate link. This will retain the task, but not execute it.

The task will be flagged as deactivated which is denoted by the down-hand.


iWay Software