Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to restrict business stakeholder license to ITIL users through Busines rule?

Lakshman8
Tera Contributor
 
1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @Lakshman8,
Yes, write before BR on the sys_user_has_role table.
based on your requirement add Condition
current.user.hasRole('itil')&&current.role=='business_stakeholder'||current.user.hasRole('business_stakeholder')&&current.role=='itil'

 

If it is helpful, please mark it as helpful and accept the correct solution.

Thanks & Regards,
Abbas Shaik