- 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 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2024 07:14 PM
Thank you!
But is it possible to achieve conversion using Expand script not making new action?
Regards
Daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2024 07:29 PM
You can definitely give it a try ! it should work. Ultimately, all we require is a comma separated input string which we need to convert to Array of Objects using the split method.
Amit Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2024 07:28 PM
Hi @KellyLewins
Can you share the snapshot how exactly you created the script, and how are you passing values to the input
Aman Kumar
