Push values into an array in flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2023 08:39 AM
I'm creating a catalog item where the user has a few options to select via select box. After approvals in the flow, we are looking to automate the group access based on the selection. The automation portion is complete in a separate workflow, but I am stuck figuring our how do I allow users to select multiple options and if approved they will assign to every group. Currently it will only automate to one selection even if multiple options are selected on the catalog item.
How do I get values from the select boxes and push them into an array? Next how do I create an action and parse the variable as a string?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 09:41 AM
@Community Alums your requirement is not clear for me. Can you explain step by step
if you just want script
var list = current.variables.selectboxname;
var arr = list.split(',');
Bharath Chintala

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2023 10:46 AM
I have a catalog items that has 6 check box selections. Based on the selection, we have subflow that will automate to an AD group. I'm running into an issue where if multiple check boxes are selected, it will only automate to one group. I'm looking for the correct step to add in the flow to fix this issue. I was told an option is to push the variables through an array and then to parse them as a string