Confluence has been updated to version 6.15.9

Back to  nodeHelper


SERVICENOW

Signature
 

HelpernodeHelper
SignaturegetTableByName( String tableName, String attributeName )
Description


Looks up a value in the specified table and returns the corresponding row

Introduced in4.6.4

Example use

Retrieve the assignment group with a certain name


  • Assignment group is stored in the sys_user_group table



  • Run 


// look up assignment group and assign it to the problem entity

problem.assignment_group = nodeHelper.getTableByName("sys_user_group","CAB Approval")


See also

How to find the name of the table in a field on ServiceNow?



Back to  nodeHelper