- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2024 09:36 AM
Hello,
in my flow I get the catalog variables and this shows me output data for my variable named "groups". I want to use this variable in the second step but there it shows empty?
Where is the problem? The flow runs perfectly fine on other instances.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 07:48 AM
Use property
"com.glide.hub.flow.catalog_variables.list_collector_as_grproxy"
Creating this property as type true/false and setting value to true will return object
Please review below knowledge article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1000205

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 07:43 AM
The Get Catalog Variables action in Flow will return the variables as Strings. You will need to take your variable that is returned from that action and convert it into an Array, as the For Each loop action requires an array to work. You'll need a custom action to convert it to an array if one hasn't been created already in your instance. Take a look in the link if you need help with this.
Convert string list to convert to Array list (Get Catalog in Flow Designer)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 07:48 AM
Use property
"com.glide.hub.flow.catalog_variables.list_collector_as_grproxy"
Creating this property as type true/false and setting value to true will return object
Please review below knowledge article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1000205

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 07:52 AM - edited ‎09-04-2024 07:54 AM
Awesome, I didn't know you could flip that with a property. Great find. One thing to keep in mind is you are changing OOTB behavior, and in the article it does mention this
So I would consider this before doing so