How to copy the MRVS values to 2 different fields on same sctask ?

snriya
Tera Contributor

Hi All,

I am looking for a solution to copy the MRVS field values to 2 different fields on same catalog task. I found one community post where the solution is present but for copying the values by concatenating them in one field.

Need to copy MRVS data to same catalog item variable: https://www.servicenow.com/community/itsm-forum/need-to-copy-mrvs-data-to-same-catalog-item-variable...

My requirement is to copy the MRVS field values to different fields not one once we submit/save the form.
Please refer below image to understand the requirement and script i created.  

 

 

 

 

1 REPLY 1

OlaN
Giga Sage
Giga Sage

Hi,

Your question is unclear, please elaborate a bit more.

One thing I've spotted and that needs clarification;

How do you want to copy the value? The approver variable is a reference field, which points to a specific record. The MRVS can be one or more rows of data. If multiple rows exist, how should the copy be done?