Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to delete few rows from mrvs based on a select box variable?

shabbir5
Tera Guru

Hello ,

We have a MRVS , inside that we have 3 variables ( days: select box type, choices: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, All, Weekdays, Weekend)

Requirement:

suppose if I select days : Monday, Start time: 10:00 ,Stop time: 12:00 and the row will added to MRVS.

Now if I choose days: All, Start time : 9:00, and stop time: 11:30 then 2nd row will add to the MRVS

Here I want to delete the Monday row automatically, because Monday comes under 'All' days . I don't want to repeat the existing row data. 

So final output should be only the row with days: 'All'. It should be applicable for every row as well.

Please provide your inputs @Mahendra

Thanks,
Shabbir.

 

 

5 REPLIES 5

Right, so did you try it with the this.cat_g_form method to set the value, and the additional script that allows that to work?