How to copy the MRVS values to 2 different fields on same sctask ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 04:39 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 04:54 AM
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?