List: JavaScript functions

The following table lists some of the JavaScript functions available in HPE Service Manager. These functions provide a method of performing certain commands that will return a value when executed.

Refer to List: RAD functions for more information on using RAD functions to perform these commands instead of JavaScript.

JavaScript function Description
add_graphnodes Returns XML to the Run-Time Environment (RTE) for the expand action on a node in the graph diagram.
get_graph_action Returns the activated action on a node in the graph diagram.
get_graph_id Returns the value of the graph ID for the expand action on a node in the graph diagram.
get_graph_node_id Returns the value of the node ID for the expand action on a node in the graph diagram.
get_graph_target Returns the target for an activated action on a node in the graph diagram.
parse.evaluate() Returns the value of a given expression.