Display banner on Incident form based on user record flag

Sandy7
Tera Expert

Hello,

I want to display a banner / message on the incident form based on criteria on the user record ...

on the user record I have a checkbox called "sensitive_employee". 

On the incident form, we have "caller_id" field which is references the user record. 

So if the user selected in the caller_id field has the the "sensitive_employee" checkbox selected, I want to display a message on the form. 

Can anyone help with this on change client script?

Thanks

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

Please check below client script logics for similar use case:

https://www.servicenow.com/community/developer-forum/vip-alert-client-script/m-p/2209983

use your field name instead of VIP

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

2 REPLIES 2

Anil Lande
Kilo Patron

Hi,

Please check below client script logics for similar use case:

https://www.servicenow.com/community/developer-forum/vip-alert-client-script/m-p/2209983

use your field name instead of VIP

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Wow, that is super helpful and solve my issue! thanks