- 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 08:51 PM
Hi,
Did you try to dot walk in the script from the 2nd step
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 08:55 PM
can you collaborate more please? I don't understand, I am trying to get access to that variable in the approval step so id I do fd_data.trigger.[variable name] in my case "fd_data.trigger.approvalGroups" then I will have access to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 09:04 PM
Hi,
You need to fetch output from the 2nd step
try to type fd_data. and then check whether it shows 2nd step
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: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