12.5.4 Setting the information to be assigned to managed items
This subsection describes how to set the information to be assigned to managed items in Activity Designer's Task conditions. By setting the information that is assigned to managed items, you set the information to be updated by tasks added to Use tasks, the method for identifying the target of the processing, and the range of loop processing.
To display Task conditions, select a desired task from Use tasks, and then click the Edit button. From the list of Managed items, select the item to be processed, and then set the assigned item.
Managed items displays the information managed in the asset management database (in the format class.property), the item for identifying the target of the selected task process, and the item for setting a range of loop processing.
From the displayed Managed items, you set the assigned items as needed. Make sure that you set the items identified by a star () in the Managed items field.
If you have selected *Loop start as Use tasks, select Loop target before setting an assigned item. For details about how to specify settings when *Loop start is selected as Use tasks, see 12.5.4(2) Setting the details of loop processing.
- Organization of this subsection
(1) Setting assigned items for tasks
Clicking the Browse button for each assigned item displays the Assigned Setting From Screen dialog box. The following figure shows an example of the Assigned Setting From Screen dialog box.
|
This dialog box lists the items that are set automatically and the management names that were defined in the Item window. Select the information that you wish to assign to each managed item.
Select one of the following assigned items that are displayed in the Assigned Setting From Screen dialog box:
-
Do not set
Does not set an assigned item for the selected managed item.
-
Auto: Automatic numbering
Sets the value automatically obtained by the asset management system.
-
Automatic: Fixed value
Always sets the specified value. When you select this item, make sure that you specify a fixed value.
-
Auto: Executed date
Sets the date the Item executes. If a date has already been registered for the same managed item, it will be overwritten.
-
Automatic: Executed date (Register if there is no value)
Sets the date the Item executes. If a date has already been registered for the same managed item, it will not be overwritten.
-
Acquired from the upload file
Assigns the value in the CSV file that is uploaded as a file attachment to the Item. Only CSV files are supported for assignment of values. When you select this item, make sure that you specify the location of the value that is to be obtained from the file.
Also add *Loop start and *Loop end before and after the selected task, and in Task conditions for *Loop start, specify Number of lines of uploaded file in Loop target.
-
Acquired from table
Assigns the value that was defined as the Table object in the Item window. When this item is selected, you must also specify the table column from which the value is to be acquired.
Also add *Loop start and *Loop end before and after the selected task, and in Task conditions for *Loop start, specify Number of table rows in Loop target.
-
Acquired from the reference devices
Assigns the value of the device specified from the Browse button in the Item window. When this item is selected, add *Loop start and *Loop end before and after the selected task, and in Task conditions for *Loop start, specify Number of objects selected on window in Loop target.
-
Acquired from the reference software
Assigns the value of the software asset specified from the Browse button in the Item window. When this item is selected, add *Loop start and *Loop end before and after the selected task, and in Task conditions for *Loop start, specify Number of objects selected on window in Loop target.
-
Acquired from the task executed immediately before
Enables you to assign a value by acquiring applicable information from the immediately preceding task, as defined by the order defined in Use tasks. For example, if Add new device is defined to be executed immediately after Add new user, the user ID registered in Add new user can be assigned to Asset information.User ID for Add new device.
This item can be set for the following tasks and managed items:
-
Add new device:
Asset information.User name, Asset information.User ID, Asset information.User name of administrator, and Asset information.User ID of administrator
-
Assign license key:
Target device's Asset information.Asset No. or Asset information.User ID, and target software's Asset information.Asset No.
-
Auto assign license key:
Target device's Asset information.Asset No. or Asset information.User ID, and target software's Asset information.Asset No.
-
Add network information:
Network info ID.Asset ID
-
Assign asset to contract:
Asset information.Asset ID
-
Assign asset to volume license:
Asset information.Asset ID
-
Update problem:
Maintenance log ID.Asset ID
-
-
(Management name defined by Form Designer)
Displays a managed item defined by Form Designer that has the matching data type. In the Item window, the value entered for the selected item is assigned.
- Note
-
If the assigned value is null, when the Item is processed, the null value is used for updating. However, an error results if the null value is assigned to a mandatory managed item.
(2) Setting the details of loop processing
This subsection describes how to set assigned items when the *Loop start and *Loop end tasks are added to Activity Designer's Use tasks.
When a single task is to be repeated, such as when multiple devices are to be registered or deleted, *Loop start and *Loop end are used to set the range of the repetitive task. The number of times one task is to be repeated is set in Task conditions.
Set the repetition count in Task conditions, which is displayed by selecting *Loop start from Use tasks, and then click the Edit button.
After selecting the target to be repeatedly executed in Loop target, specify an assigned item from the Browse button.
The following describes the value to be selected in Loop target and how to set the assigned item:
-
Number of objects selected on window
Executes the loop processing in the Item window as many times as there are devices or software assets selected from the Browse button.
For Assigned items, set the management name of the object for which the data type Device reference or Software reference was specified in Form Designer.
-
Number of lines of uploaded file
Executes the loop processing as many times as there are lines in the CSV file attached in the Item window.
For Assigned items, set the management name of the object for which the data type File reference was specified in Form Designer.
-
Number of table rows
Executes loop processing the number of times equaling the number of lines defined as the Table object in the Item window. For Assigned items, set the management name of the Table object.
(3) Information set in a managed item to which no value is assigned
When no assigned item has been set or when value acquisition fails, a value is set automatically in some items. The following table shows these items and the values that are set.
Task |
Managed item |
Value that is set |
---|---|---|
Add new device |
Asset information.Reg. date |
Execution date of Item |
Hardware information.Device type |
PC |
|
Add new software |
Asset information.Reg. date |
Execution date of Item |
Add new user |
User information.User name (English) |
User ID |
Problems |
Maintenance log.Reg. date |
Execution date of Item |
Maintenance log.Registrar |
Login user name |
|
Maintenance log.Importance |
Emergency |
|
Maintenance log.Problem type |
User registered |
If no assigned item is set for the following managed items, or if value acquisition fails, Item processing results in an error:
-
Add new contract
Contract information.Contract date, Contract information.Contract start date, Contract information.Contract end date, Contract information.Contracted company
-
Problems
Maintenance log.Reg. date, Maintenance log.Overview of problem