Variable Set values display but quickly disappear from RITM form

joymorales
Giga Guru

Hi Team.

I created a variable set with four variables (requested for, company, phone, needed by), and created two client scripts.  One onLoad script to auto-populate the fields in the catalog order form with information for the user signed into SN.  The other onChange is to update the information on the fields when the name on the requester field is changed to someone else's.  Also, created an UI policy to set variable fields in the Requested Items form to not be mandatory.  These work well.

However, after I click "Order Now", click the REQ number to access the REQ form, then click the RITM number to open the form, the information on the Variable Set from the Catalog order form populates the fields, but instantaneously disappears and resets to the original "requested for" information.

I have tried the variable set on different catalog items, and tried the same in my Personal (Paris) and DEV (New York) instances, and same issue.

I checked the Business Rules, UI Policies, UI Actions and Client scripts and did not find one that could be resetting the fields on the RITM form.  Attached are screenshots of the variable set, UI policy and client scripts for the variable set.

I have searched the web and looked/tried different suggestions, but no success in keeping the variable values in the RITM form.

Any suggestions/recommendations will be greatly appreciated.

Thank you.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

your catalog client scripts and catalog UI policy should not run on RITM form

Applies to Requested Item - Should be false

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

joymorales
Giga Guru

Thanks Ankur.  It worked.  Greatly appreciate your help.

You are welcome

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader