each catalogue should show value of one Row from multi row variable set

Varun Sharma
Tera Expert

Hi Experts, 

 

I've a requirement, where i want a #catalogue item to create multiple tasks corresponding to rows in multi row variable set. 

and each Task will only show up values from one row, and once i've received a response for that row , we'll close the task, and thus i can have reporting based on each multi row variable set. 

How can i make sure the row's are shown in relation to the task. 

 

Regards, 


Varun Sharma

1 ACCEPTED SOLUTION

@Varun Sharma 

basically if your ask is to create 10 tasks for 10 rows then you can do this in flow designer by iterating and determining the MRVS rows

Creating records from Multi Row Variable Set 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Varun Sharma 

Ideally not recommended approach to hide respective rows on respective tasks

I don't think it's feasible as well to hide without DOM manipulation and I won't recommend that

Alternative approach

1) If you know 4 catalog tasks will be created i.e. static number of tasks then have those many MRVS and then show the correct MRVS on respective catalog task

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

HI Ankur, 

 

Thanks for the response. 

my requirement is that i've to trigger a integration for each row filled in MRVS and create a catalogue task , to keep the response we get from the integration corresponding to each row. 

what could be the best approach for this , because MRVS will vary from users to users. 

 

Regards, 


Varun Sharma

@Varun Sharma 

Even after using DOM manipulation whether you will be able to hide the rows or not I am not sure.

Since you said user can add multiple rows and based on that catalog task has to be created so you can't have dynamic number of MRVS.

You can inform this to custom about the limitation.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Varun Sharma 

how are you differentiating the row 1 is for Task 1, row 2 is for Task2 etc?

How will you know which row to hide for which catalog task?

When I checked the HTML this is the class "row__057e9c1e-e4d3-4c7e-bd23-b97e0602ca3b" for the row.

If you know some variable in each row will be unique and can be mapped 1 to 1 with catalog task then using DOM manipulation you can determine and search the correct row and hide it

 

AnkurBawiskar_0-1738929260172.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader