Issue: Catalog Item Manager Variable Not Retained After Submission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 01:26 PM
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?
- Labels:
-
Request Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 01:35 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 01:41 PM
I thought of using the Auto-populate tab on the variable