Need to update mrvs variable data to catalog main form variable

GaddamP
Tera Contributor

Hello,  I have created a new mrvs with multiple variables and restricting mrvs to single row. I have a variable "total cost" inside mrvs. Once that variable is updated  with data and click add button need to update same value in out side mrvs variable(main form). 

I know using custom widget works but need to do this in low customization. i do not have option to create onchange client script on main form.

 

Please provide inputs/suggestions to make it work. 

@Ankur Bawiskar 

Thanks,

Prasad

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@GaddamP 

the only option is to use custom widget and observe the Add/Remove button and then handle the calculation

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

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@GaddamP 

the only option is to use custom widget and observe the Add/Remove button and then handle the calculation

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 Bawiskar , Thanks for reply.

 

I'm not doing any calculations part out side mrvs. All the calucualtions are completed in inside mrvs and updating total value in one variable. after that variable is updated need to update same value in outside mrvs variable.

 

 

@GaddamP 

without custom widget not possible

OR

you can use workflow run script or after insert business rule on sc_req_item table, get the MRVS json, parse it and set in the outside variable

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