Default value of caller field

sharmavikrant
Kilo Expert

Hi Guys, I am trying to set the default value of the caller field. The below code is already there, I want to show only the caller who are active could you please help me with the rest of the code?

 

javascript:incidentGetCaller();

1 ACCEPTED SOLUTION

marcguy
ServiceNow Employee
ServiceNow Employee

No need to change the default value if you only want to return active users, just update the 'Reference Specification' tab and the Reference Qual Condition to ACTIVE is TRUE.



Then if you don't auto-populate the caller field with the current user and need to lookup users, it will only return active-true users, is that your intention?



By default that incidentGetCaller() will autopopulate the caller field if the user logging the incident is not an itil user, otherwise it presumes they are logging a call on behalf of someone so will use the reference qualifier to only show you active users.


View solution in original post

5 REPLIES 5

Kindly mark that answer correct/helpful which helped you solve your issue