Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Unable to convert list collector to array in Flow Designer

gjz
Mega Sage

I have a list collector on a custom table that I need to use to create separate tasks for each value in a flow.  I've checked the community and see @Ankur Bawiskar solution, but it's not working for me.  My custom table is extended from Task, it's not a catalog task or requested item.

 

The issue I have is not whether it is defined as array.object or array.string, it's that the input variable is empty and I don't understand why. 

 

This is what I get in the execution details:

gjz_0-1722362837036.png

 

Table definition:

gjz_1-1722362911966.png

 

And my action:

gjz_2-1722363018075.png

gjz_3-1722363123024.png

 

My instance is Vancouver.

 

Update - I think I found the issue, but I don't know how to solve it. 

 

The field is defined as a list in the table, but I have added choices for the person to pick from.  In the flow, the field is seen as a Choice field and not a list.

 

gjz_0-1722363950162.png

I need the user to be able to pick multiple choices, which is why I defined it as a list.  Should I have defined it differently?

 

gjz_2-1722364099113.png

 

 

 

1 REPLY 1