I would like to make UI Policy Action work only for users with specific roles.

chanken
Tera Contributor

Hi Everyone,

I would like to make UI Policy Action work only for users with specific roles.

I have two roles (Role A, Role B).

I want to set mandatory filed when user having Role B assigns the assignto of   incident to a user who has RoleB.

However, when user having RoleA assigns the assignto of incident to a user who has RoleB, I do not want to set mandatory items.

Is it possible to realize by using a script?

Do you have better solutions?

thanks.

1 ACCEPTED SOLUTION

If you want the UI Policy to be applied for different view then you can just uncheck the Global check box on your UI Policy and then select the view for which you want the UI Policy to be applied.



find_real_file.png


View solution in original post

16 REPLIES 16

have you checked those field has set mandatory from the field level?



right click on that field>> configure Dictionary then check Mandatory check box has checked?


Hi harsh,



I checked "configure Dictionary",   "Mandatory check box" is no check.



thanks.


Hi harsh,



Thank you soo much.


I used a field watcher and noticed that an unintended UI policy was running.


Even more,That UI policy is set to mandatory item set to false, but it is working to set it to true.


I will create ticket for HI.


Do I have other things to look for on my own?



thanks.


Can you try to change the order of your ui policy ? let's check if that helps you or not