Using a MRVS variable as a Switch option in a workflow not progressing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 02:27 AM
Hi, hope I can have some help with this one as now scratching my head.
I need to use a variable in an MRVS I have in a catalog item, to direct the workflow to create a task for one of two teams, dependent upon the choice made.
Despite my best efforts the Switch finishes and doesn't progress. I've checked the condition, and these all match with the variable (it added the conditions automatically from the variable when I added the switch).
Here are the results of the workflow action
Any help is appreciated. Thank you in advance, Julie

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 02:39 AM
Hi,
MRVS can have more then one row. Are you iterating for each row? If you are doing it only for first record script then you can use script to get the MRVS variable and add condition
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 03:23 AM
Thanks Palani, I'm not sure how to do that. I will take a look and see.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 02:45 AM
why not use workflow run script? parse the MRVS and store the value in workflow.scratchpad variable
Then use IF activity and have different paths.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 03:12 AM
Hi Ankur, thank you. I'm very limited in my script knowledge I'm afraid. Could you provide me with a bit more detail? thanks in advance