Scripted Approval is not working
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2023 04:41 AM
I have catalog item and it has only two fields:
1.Requested for
2.Select Group
Once request is submitted, it will trigger approval to selected group's manager. and for this I have written script (I know we can use get variables action and we can do it without writing script for it) in Rules field, and it is working fine
var appr = fd_data.trigger.request_item.variables.select_group.manager;
return "ApprovesAnyU["+appr+"]";
It is triggering approval to approver but immediately updating request as Rejected.. ideally it should be requested/pending.. but thats not happening.
0 REPLIES 0