12.5.3 Setting the order of tasks to be executed
This subsection describes how to set the order of the tasks that have been added to Activity Designer's Use tasks.
Each task added to Use tasks is executed in the order displayed in the list. To change the execution order, select a task whose execution order is to be changed from the Use tasks list, and then click the Up or Down button.
When setting the order in Use tasks, pay attention to the logical order of information. For example, when you execute the Add new device and Add network information tasks, you must execute the Add new device task first to register information about the device to which network information is assigned.
When you have added loop processing, make sure that *Loop start and *Loop end are always paired.
The following are examples of settings in the Use tasks field when software installation, license usage, and device transfer requests are executed:
-
Example of settings for software installation request
*Loop start Add new software *Loop end *Loop start Add license key *Loop end
In this example, Number of lines of uploaded file is selected under Managed items in Task conditions, and after the number of software information items equaling the number of lines in the CSV file attached to the Item are registered, the license key for the registered software is added.
-
Example of settings for license usage request
*Loop start Assign license key *Loop end
In this example, Number of lines of uploaded file is selected under Managed items in Task conditions, and the license is assigned using the specified key to the software already registered for each line in the CSV file attached to the Item. If Assign license key is replaced with Auto assign license key, available key information is assigned automatically.
-
Example of settings for device transfer request
*Loop start Update device information *Loop end
In this example, Number of objects selected on window is selected under Managed items in Task conditions, and the device information is updated the number of times equaling the number of devices selected in the Item window or the number of lines in the CSV file attached to the Item.