User roles in flow parts

I want to make a decision based on the user role of the current user.

I would like a function or a flow part that returns de roles of the current user (or the user that is input for the flow part).

Hi,

Thanks for your request, after reviewing the idea we have added this to our roadmap.