Setting priority based on VIP flag

Alex Saager1
Tera Contributor

My organisation want to set priorities for users logging incidents based on VIP flags all from the service portal. 

This is our current form for creating incidents:

find_real_file.png

 

Now is it possible in the back end to say set a default priority to 2 for VIP users and have non VIP's as 3?

Any help for guidance on this would be appriciated.

Alex

1 ACCEPTED SOLUTION

Hi,

do you want to check the user selected in Open on behalf of this user is VIP or not?

if yes then you can do this

if(producer.variableName.vip == true){
	current.priority = 2;
}
else{
	current.priority = 3;
}

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Hi,

do you want to check the user selected in Open on behalf of this user is VIP or not?

if yes then you can do this

if(producer.variableName.vip == true){
	current.priority = 2;
}
else{
	current.priority = 3;
}

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Alex Saager 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader