Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Script parameters in Legacy BSM

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.

This site is scheduled for a small content update on Monday, November 12th, between the hours of 4:00pm and 9:00pm Pacific Time (Nov 13 00:00 – 05:00 UTC). Acces to this site may be delayed during that time.