Unable to convert list collector to array in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 11:14 AM - edited 07-30-2024 11:28 AM
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:
Table definition:
And my action:
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.
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:35 AM
Hello @gjz ,
Have you checked the below articles? if not hen please refer it if relatable:
https://www.servicenow.com/community/developer-forum/list-collector-is-not-working-in-flow-designer/...
https://www.servicenow.com/community/developer-forum/issue-get-list-collector-value-in-flow-and-use-...
https://servicenow.com/community/developer-forum/how-to-convert-list-type-to-array-object-type-in-fl...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0793340
Thank you!!
Dnyaneshwaree Satpute
Tera Guru