How to create multirow variable set as input in Dynamic Flow in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 04:38 PM
I have several similar catalog items that use the same multirow variable set. I would like to create a dynamic subflow so I don't have to repeat the logic several times, but I'm stuck on the input.
I'm not sure how to create the Array.Object fields and I haven't found any example, documentation, video or community post for help.
This is the MRVS (internal name is new_assets)
model_category references cmdb_model_category.
new_asset_tag references alm_hardware
reserved_for references sys_user
I tried setting the input to the dynamic subflow as follows:
1. Can I use any naming convention I want for the Array.Object? I noticed the subsequent fields all started with MRVS and MRVS_Assets. What's the syntax, is the underscore required?
2. I can't select Reference as the data type. I can work with a string as long as it's either the display value or sys_id, but when I tested the dynamic flow, no data appeared.
3. When I tried to test the dynamic flow, it didn't populate the MRVS input variables from the RITM. How can I test it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 11:33 PM
Hello @gjz ,
Please refer below image and article:
https://www.servicenow.com/community/itsm-articles/how-to-access-variables-set-multi-variable-set-va...
Please refer below article if instead of sub-flow you are able to use logic in main flow:
https://www.servicenow.com/community/workflow-automation-articles/how-to-use-multirow-variable-sets-...
Thank you!!
Dnyaneshwaree Satpute
Tera Guru