multiple approvals not triggering from a list collector variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi Team,
I have one list collector variable for 'additional approver' field which has defined in a flow to trigger approvals.
Its working for one record.
However not for multiple records, i tried with Look up records action with for each logic but still didn't work.
Can anyone please help on how to fix the same.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Please find the screenshot:
Please help me with the issue, feel free we can join on zoom meetings if required.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Sri56,
Your custom action looks correct based on the screenshots you shared.
Please make sure you're calling this custom action in your Flow and using its output in the For Each loop. The For Each should iterate over the Array.String returned by the custom action, then use Look Up Record (User table) with the current Sys ID, and finally pass the returned User Record to the Ask For Approval action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi,
Still cant select the output variable from for each step.
can you please help over the zoom meeting?
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Sri56,
Your custom action looks correct
the output variable is being returned as Array.String, so the script is working.
I faced the same issue while testing in my PDI. What resolved it for me was
Publish the custom action again.
Close the Flow Designer tab completely.
Delete the existing List Collector Convert to Array action from the flow.
Save the flow.
Add the custom action again from the Action Picker.
After re-adding the action, the output variable was available in the For Each step.
Please give that a try and let us know if it works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Its still the same 😞
Thanks,
Sri