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

- 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")