You can retrieve a role in a database activity with an xpath like: [id = ‘%Userrolename%’], where the userrolename is a token available in the list like currentuser e.g.
Add the role to a new list, that will have just 1 record.
Also retrieve the roles for the user and then perform a list action (Union) if the resulting list is not empty the user has the role and you can base your decision on that.