Service Catalog: check if editable catalog item variables were changed on the catalog task form

What if catalog variables become editable post-checkout on the catalog task?

here's how to check if the values changed between form load and form submit

display business rule:

store the 'onload' value of a 'delivery_date' variable in a scratchpad:


onsubmit client script:

check if this was changed by the user:

if (g_form.getValue("variables.delivery_date")!=g_scratchpad.task_deliverydate){


Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage