Workflow approval script is not working in requted item

986565
Tera Contributor

Hi All,

 

I am using the scripts for the individual approval based on the group person, for the catalog approval

 

Here is my code for the request item

 

current.variables.please_select_sr_approval

 

when i put logs it was printing, but unable to send request for the approval person.

5 REPLIES 5

@986565 

it should work fine provided

-> that variable is reference to sys_user

-> user you selected is active and not locked out and has email in it

Did you try some other hard-coded user sysId?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader