- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 07:32 AM
Hello,
I knew there is OOB Add/remove users from group. I am trying to create my own for the customer's requirement. So I am checking for the "requested By" user's role. if the role has admin or group manager, it doesn't require approval. I am trying to create via subflow because I have to reuse it for removing the users from the group as well. Any help would be greatly appreciated. I have attached screenshot for subflow.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 08:12 AM
You'll want to setup a user and role input for your subflow. Then query the 'sys_user_has_role' table for the user/role. Based on if the record is found set the output variable to either true or false. I've attached screenshots and XML of the subflow I threw together in my PDI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 08:12 AM