Signature
Helper | nodeHelper |
Signature | getTableByName( String tableName, String attributeName ) |
Description |
Looks up a value in the specified table and returns the corresponding row |
Introduced in | 4.6.4 |
Example use
Retrieve the assignment group with a certain name
- Assignment group is stored in the sys_user_group table
![](//dyzz9obi78pm5.cloudfront.net/app/image/id/62bef0cab2a5243446780a03/n/49153724.png?effects=drop-shadow)
- Run
// look up assignment group and assign it to the problem entity
problem.assignment_group = nodeHelper.getTableByName("sys_user_group","CAB Approval")
// look up assignment group and assign it to the problem entity problem.assignment_group = nodeHelper.getTableByName("sys_user_group","CAB Approval")