List collector to array via flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:21 AM - edited 08-05-2024 03:27 AM
here I am trying to automate the user assignment role using flow designer so
here first got the catalog variables
then here I am trying to convert list collector to array as we will be getting the more than one roles to assign to the user.
here I can not get the variables in trying to convert the list collector to array.
can you please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:30 AM - edited 08-05-2024 03:47 AM
Hi,
If I understand what you're trying to do here, then there is no need to convert an list collector variable (input variable from the RITM) to an array.
You can do a lookup records action, and select that the sysID should be one of <your data input from variable here>
Example below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 05:27 AM
Hi @tGhadage
List Collector elements are separated by ',' so you can make use of scripting and split the list collector variable on ',' to get an array. Refer
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.