HasRole Condition in flow?

Marvin16
Tera Contributor

Hello,

is there any easy way to have an "user.hasRole("myRole") condition within the flow designer? I cannot find anything to check for user roles 😞

 

best regards

1 ACCEPTED SOLUTION

yes for that you have to add custom action here 

 

 

If my answer helped you, kindly mark it as correct and helpful.

View solution in original post

7 REPLIES 7

yes for that you have to add custom action here 

 

 

If my answer helped you, kindly mark it as correct and helpful.

Priyanka136
Mega Guru

Hi Marvi,

Can you please elaborate more about your requirement ?

Thanks,

Priyanka

I have a user record within my flow. So i want to check whether this user has the role admin for instance and i cannot find an easy way to do it. Sure i can query the role table but is there no simple way to do it ? I thought there might be a core action for that but cannot find any 😞