Why is the default value for "Requested For" evaluating to the wrong user for 1 REQ/RITM record?

Todd Romansky
Tera Guru

I have a relatively simple catalog item where the "Requested For" on the REQ and associated RITM are relying on the default value in those tables (there is no option for the end user to select the Requested For).  For each of these tables, the default value is dynamic using the "Sender" dynamic filter, which corresponds to gs.getUserID();.  In almost every REQ/RITM record for this catalog item, the Requested For is appropriately recorded as the end user submitting the catalog item.  However, I have 1 record where the Requested For is not the name of the user submitting the catalog item.  In this case, the Requested For and Opened By are different users, with the person listed in the Opened By being the actual end user.  There does not seem to be any business rules setting the Requested For and from what I can tell, it is only being set based on the dynamic default value.  

Has anyone experienced this where gs.getUserID() is not evaluating to the current user?  Is there perhaps a script include or somewhere else I should be looking to see how the Requested For value is being set if it is not relying on the default value?  We are pretty much out-of-box for our Service Catalog and have not made any changes to business rules, client scripts, or UI scripts that would affect this field.

 

11 REPLIES 11

vkachineni
Kilo Sage
Kilo Sage

Are there any client scripts setting the Requested for for this particular catalog item.

Can you post the screenshot of the catalog item definition

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

No clients scripts or policies.  Only 1 variable, which is used in the workflow to set the time limit for admin access in our environment.

Can you look at the audit history of the REQ. Was it changed by someone after the fact?

find_real_file.png

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

That was the first place I looked and verified that the Requested For was set only 1 time and it occurred when the record was created.