How to populate a Variable in a Record producer, with content form a variable of a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 11:55 AM
I have a Multi Row variable set in a record producer, in this Variable set i have a variable named Total expenses.
When I create a ticket on service portal, i can set multiple rows in the variable set.
So, in a new Variable on the record producer (not in the varaiable set), I need to populate de SUM of the differents rows. For example:
The question is, How can I handle or populate those fields?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 02:10 PM
Hi,
Please refer to this thread which is doing almost the exact same thing you're wanting to do: https://www.servicenow.com/community/developer-forum/multi-row-variable-set-client-script-to-do-some...
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 02:44 PM
Hi,
Thanks for marking my reply as Helpful.
If it also helped guide you correctly, please also consider marking it as "Accept Solution".
Thanks and take care! 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!