Script parameters in Legacy BSM

Menu action scripts are executed on the client when a user clicks the menu option. You can use the same building blocks in scripts as in conditions. Menu action scripts do not function on separators.

These are some additional, useful expressions for scripts:

Table 1. Script Parameters
Condition Description
item.id The sys_id of the CI node or relationship link.
item.d.source The sys_id of the relationship's parent or child.
item.d.target The sys_id of the relationship's parent or child.
item.d.label The name of the CI node, such as IronMail-SD-02.
item.d.location The sys_id of the CI node's location.
item.d.location_name The full address of the location, such as 4616 Clairemont Drive, North Clairemont, San Diego CA.
item.d.manufacturer_id The sys_id of the CI's manufacturer.