Checking User Role against reference in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 01:55 PM
Hello,
I want to check a user has the itil role on if condition but it does not appear you can do this in flow designer. Thanks for assistance.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2019 04:41 AM
Hello,
You could create an Action that you call, either doing a table lookup in table: sys_user_has_role, to see if the role exists for the user, or a script step in the action using: gs.hasRole("itil").
That action can in turn return true / false, which you can have an IF for in your Flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 06:50 AM
Hello,
Do you have an example of the script action within the flow?
Thanks,
Chad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 03:58 AM
Hi Chad
Did you succeed in the Flow Designer test is a user is member of a group?
I am also lokking for a Flow Designer Flow that is checking
Is the current user member of group (group_name)
If so; stop the flow
If not; add the user to the group
I am stuck with the check if the user is allready member of the group.
Grets
Wim

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 07:57 AM
I was able to figure this out with the following. Do a Lookup at the top then call it in an IF at the bottom: