Logged In user Profile Check in Omniscript

 Logged In user Profile Check in Omniscript


There always profile comes on data JSON by default which will show details of logged In User





So, we can leverage this in order to show element based on the profile / make element required based on the profile.


Select your element. -> Conditional View -> choose from ‘Show Element If true’ ,’Set Element to Required if True’ 





Use ‘userProfile’ in Conditions and we can directly get the details, for my use case I am using to make it required. And in preview you can say a ‘*’ aeterisk when you logged in with other profile than ‘System Administrator’ and ‘Pru Admin’ 

Comments