trigger approvals based on variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 10:21 PM
Hi,
i'm using a MRVS and a variable in that needs to be used for approval, i'm doing this through a workflow.
the below script is being used: but the approvals are not triggering. when i checked through run script it is giving the exact value. Please help
var rows_len = current.variables.application_details.getRowCount();
for(var i=0;i<rows_len;i++){
var row = current.variables.application_details.getRow(i);
answer.push(String(row.tech_domain_owner));
}
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 01:53 AM
Hi @Anubhav Srivas1,
Make sure that Tech domain owner [tech_domain_owner] is a reference variable with referenced table User [sys_user].
Thanks,
Sagar Pagar
The world works with ServiceNow