The Zurich release has arrived! Interested in new features and functionalities? Click here for more

'Request for' field in Service catalog home page is not working fine

SumajRajNk
Tera Contributor

Default 'request for' is set to an unknown user from a different company Under Client Services Domain which should be "Unknown User-Internal Services". So, I would expect that requests opened by Internal Services users for the Internal Services company would first default to the Internal Services user logged into that session, else default to ‘Unknown User-Internal Services’ if they used ‘Unknown User-Internal Services’ in a previous session.

 

How can I find that how is this setup in the backend? 

1 REPLY 1

Nawal Singh
Mega Guru

Hi @SumajRajNk ,

 

Please review below points-

 

Normally, it gets populated automatically via:

 

1. Default values- in the requested for field - (javascript:gs.getUserID();)

 

2. UI policies or scripts (catalog client script or business rule)

if (g_user && g_user.company.name == 'Internal Services') {
g_form.setValue('requested_for', g_user.userID);
} else {
g_form.setValue('requested_for', 'sys_id_of_unknown_user_internal_services');
}

 

Check the client script or Ui policy or Business rules

 

if my response is helpful please mark as helpful or accept the solution.

 

Thank you!!