- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 08:49 PM
Since ServiceNow lacks their documentation...I will have to ask here,
How can I access output variable in a Flow Designer in f(x) function of an Activity?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:30 PM
Refer sample example below
1) My step 2 is custom action and it has output variable
2) how it can be used to fetch the output variable refer below
fd_data._2__list_collector_convert_to_array.variable
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:51 PM
thanks, this works, BUT why when I return sysIDs of groups, it doesnt trigger the approvals?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:59 PM
Thanks for confirming that my solution of dot walking to the step worked.
what are you returning from the step 2
refer below link for reference on scripting ask for approval
Flow Designer and scripting Ask for Approval
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 10:21 PM
Let me know if I have answered your original question.
Please mark my response as correct and helpful.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:17 PM
Hi John - Don't use fd_data.trigger. It should be fd_data.THEN SELECT THE FIRST STEP ACTION (get catalog variable name). FOLLOWED BY VARIABLE NAME.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:37 PM