flow design - Catalog MRVS

priyakakarla20
Tera Contributor

Hello Experts,

I have a catalog item in ServiceNow.

In that, I have a Multi Row Variable Set (MRVS) with variables Environment and Domain.

  • Domain choices: Internal, External
  • Environment choices: Prod, Public, Semi-Pub

I created a Flow Designer flow. After the catalog item is triggered, MRVS variables are not directly accessible, so I used a For Each loop to process the rows.

Based on the Environment and Domain conditions, I am creating SCTasks. This part is working.

However, the issue is:
In the MRVS, I can add multiple rows (e.g., both Internal and External conditions), but in the flow, only one condition/task is being generated. The remaining rows are not being processed as expected.

Thank you,
Priya.

11 REPLIES 11

Vishal Jaswal
Giga Sage

Hello @priyakakarla20 

Here is a dummy flow which will help you to achieve this:
1.jpg2.jpg3.jpg4.jpg5.jpg6.jpg7.jpg8.jpg




Hope that helps!

Hi Vishal,
Thank you for your replay.
I tried in PDI, but it is only creating the task for only first line of the MRVS,

priyakakarla20_0-1776501769681.png

priyakakarla20_1-1776501810401.png
Please find the images.

Thank you,
Priya.

 

Hi  @Vishal Jaswal ,
In the log only first, row is captured .

priyakakarla20_0-1776502441004.png

 

Hi  @priyakakarla20 ,

 

you have to click on and switch from 1 to 2 to see logs related to the second task (see screenshot).

Hope this help. 

JAra1_0-1776524869485.png