How can I get the value of caller field .

Angel27
Tera Contributor

Hello , 

How can I get the value of caller field . Could anyone please help ?

Thank you !

 

6 REPLIES 6

Tony Chatfield1
Kilo Patron

Hi, without any clear details of where you want this value, how you want to retrieve it and exactly which value you want (IE user_name, record sys_id, name.... or email) there are many possible options\solutions.
Perhaps you could update this post with clear and specific details of your requirement?

asifnoor
Kilo Patron

Hello Angel,

Can you be more specific. where do you want to get the value of caller field. 

//client script, you can use it like this
g_form.getValue("caller_id"); //returns the caller value

// in server side, like business rules, then you can access
current.caller_id

Mark the comment as a correct answer and also helpful if this has solved the problem.

Angel27
Tera Contributor

Basically I want to remove some assignment groups from the assignment group pick list .

I tried through reference qualifier , as it's not working due to other scripts.

Could you please help with the script to hide few assignment groups .

As i understand, Assignment group is a reference field. So you need to restrict them using reference qualifier.

Is there any specific pattern of which groups you want to remove?