Page variant condition

Fabio Cresta
ServiceNow Employee
ServiceNow Employee

Hi All.

I'm approaching UI Builder. I create a variant page starting from an existing workspace.

I need to show the variant page based on custom condition, but in the variant page condition I can only use table and/or sysId, while I need to set the visibility condition base don other attributes. Basically, I need to replicate what in UI16 is done via View Rules.

Any hint on how to achieve that?

Thanks

2 REPLIES 2

omargaouzi5
Tera Contributor

Hello @Fabio Cresta ! 

I'm also looking to set a condition based on the user's role. Have you foud a solution for this issue ?

Hey, showing page variant based on roles is easy, create an audience for your page variant and specify the role in it.
Let me know if the solution works for you!

Jiaveria_0-1740131425958.png