Catalog Variable shows empty even there is Output Data

PaKe
Kilo Sage

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.

 

PaKe_0-1725381383521.png

 

1 ACCEPTED SOLUTION

PaKe
Kilo Sage

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

View solution in original post

3 REPLIES 3

Zach Koch
Giga Sage
Giga Sage

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) 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

PaKe
Kilo Sage

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

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 

ZachKoch_0-1725461669486.png

So I would consider this before doing so

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!