- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 03:02 AM
Hi!
I have an Array.Object variable in my Subflow Outputs and My goal is to put List type variable into it by "Assign Subflow Outputs".
To do this, I first thought I need to comma-separate the List and process it so that it goes into an Array.Object type.
Action number #1 is "Look up Record" which looks up the table that contains type List column.
*List column references 3 columns of type String.
What I tried is to make Action in #2"For Each" to look at the #1 table,
and tried to convert the List to Array.Object using Expand Script of #3"Set Flow Variables".
But it didn`t work well.
Any advice would be helpful.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 08:24 PM
Hi @Daemon5 ,
Please refer to below thread:
https://www.servicenow.com/community/developer-forum/flow-designer/m-p/1653167
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 08:39 PM
Thank you.
The first picture is flow, and 2nd is the script I tried.
Error wont happen when I tested though, Flow variables are filled with ["undefined", "undefined", "undefined"].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 08:24 PM
Hi @Daemon5 ,
Please refer to below thread:
https://www.servicenow.com/community/developer-forum/flow-designer/m-p/1653167
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 06:20 PM
I made it! Thank you All!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 04:35 AM
I guess this discussion continues here: https://www.servicenow.com/community/developer-forum/how-to-get-variables-from-input-records-in-flow...?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark