- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2021 02:34 PM
Hello All
With one of requirement I am building service catalog. total price needs to calculate from muti variable set fields.
I am seeing the issue for below call
alert(JSON.parse(g_form.getValue('multi_variable_set_name'));
I am seeing null all the time , do i need add any property to get that mvs values in json format to calculate the price.
Once total calculated , How to reset the catalog item price as below is not working
g_form.setValue('price',"total_cost");
Thank you in advance.
Regards
Srini
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2021 06:12 AM
I doubt you can set the price dynamically based on MRVS
You can check this link
Using variables for price setup
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2021 12:29 AM
Hi,
is price a variable on your catalog item?
OR is this a field on RITM/Catalog Item record which you want to update
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2021 06:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2021 06:12 AM
I doubt you can set the price dynamically based on MRVS
You can check this link
Using variables for price setup
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 09:28 PM
Please have a look into this article. This might be of some help: