Create Catalog Tasks for multi row variable set variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 04:45 AM
Hello All,
I have catalog item where i am using a multi row variable set where the two variables inside the variable set are select box type. Out of those one variable consists numeric value between 1-5 where user will be selecting any number. Based on the number selected i want to create the catalog tasks for the request item. For Eg: If the user selects 3 in that select box variable then i should generate 3 catalog tasks for that ritm. I understand we can use for loop but i am not able to retrieve the variable value of multi row variable. can anyone pls help me in this.
Thanks
Ashwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 10:07 AM
Hi @Ashwin Perumal1!
See in this article how you can use logic in Flow for each item in a Multi Row Variable set:
How to Use Multirow Variable Sets (MRVS) in Flow Designer
If my answer helped you in any way, please mark it as correct/helpful 🎯
Regards,
Isaac Vicentini.
MVP 2025 ✨
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 01:14 PM
Hi @Ashwin Perumal1 ,
Please use "current. Variable" object to access multi row variable set values in catalog client Script.
Ex: var multiRowVarSet = current.variables.your_multi_row_variable_set;
Then you can loop through MRVS to find selected value.
create catalog Tasks based on the number selected using loop again.
If my answer helped you in any way, please mark my answer as helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2024 02:47 PM
Hello @Ashwin Perumal1
Did you tried anything so far? If yes, please share your script here.
HINT: You can access the MRVS data using mrvs internal name.
Murthy