Issue: Catalog Item Manager Variable Not Retained After Submission

saint
Tera Expert

I have a variable on a catalog item that auto-populates the requester’s manager using a script. If the manager field is empty, the user can manually select a manager. This works fine on the catalog form during submission.

However, after the request is submitted, the manager value becomes blank on the generated Requested Item (RITM) and SC Task forms. It seems the same auto-populate logic is being re-executed post-submission, overriding the user-selected value.

 

Expected Behavior:
If the user manually selects a manager during submission, that value should be retained on the RITM and task records.

How can I prevent the script from clearing the selected manager after submission and retain the user input?

2 REPLIES 2

Swapna Abburi
Mega Sage
Mega Sage

Hi @saint 

Is there a UI policy/UI policy action configured on Manager variable with Value action field set to Clear Value? Try unchecking "Applies on Requested items" flag in your client script. Also, post your client script screenshot if the issue is still not resolved.

I thought of using the Auto-populate tab on the variable

 

saint_0-1751575287144.png