Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add table managed by approval on workflow approval user activity

Sudhakar Krishn
Tera Contributor

Hi community,

We have a catalog item and "er_request_application" variable and type is list collector.

Choice table is - "cmdb_ci_appl".  'name' - TXS , "managed_by" - "approvers"

If "er_request_applications" value is "TXS" then we want to set approver is "managed_by" of the "TXS".

we have tried below script but no luck any can support on this?

 

var answer = [];
var mgdb = current.variables.getDisplayValue('er_request_applications');
answer.push(current.variables.mgdb.managed_by);

SudhakarKrishn_0-1711541847348.pngSudhakarKrishn_1-1711541937367.png

 

0 REPLIES 0