Flow designer scripted approvals not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi All,
I am creating a flow for a table(x_nose_ap_infringemnet) , so i have kept the trigger point :-when the approval field is changed to Approval after this i am sending the record sys_id to action which is taking input as sys_id and it is calling a script include from there and sending back the approval group sys_id..it could be multiple or single.
Action (called after trigger)
var record=inputs.a2precord; //sys_id from flow
var group = [];
var getApp = new Infg_AprrovalMatrix();
group = getApp.getApprovals(record);
output.approvalList="ApprovesRejectsAnyG["+group+"]" //also getting the sys_id from the script include
the Approval is generated but the approval doesn't wait for approval or rejection . the Ask for approval output shows :- state as skipped. how can i make it wait for it?
