How can I automatically add a user to an existing group within a Login Flow in Decisions?
Within a Login Flow, I am trying to configure logic that would add a user to an existing group in Decisions if they do not already exist within the group. Is this possible?
Comments
-
Hi there,
Here is a general solution which you could use and build upon as you need:
First, you would need to check if the user exists already in any created group within Decisions.
By using the String Is in List Rule, you can check each of the existing current user groups for a specified value. The input value here would be your account’s email address.
If the Rule evaluates True, that would mean the account already exists within the group(s).
If the Rule evaluates False, that would mean the account does not exist within the specified group(s) and should be added.
From here, the account can then be added to the desired group using the group’s ID. In this example, the account is added to the ALL USERS group within Decisions.
Note: You can get any group’s group ID by right clicking a group name and going to Manage > Get Group ID inside to System > Security > Groups.
Hope this helps!
Howdy, Stranger!
Categories
- 4.4K All Categories
- 82 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 498 General Q & A
- 714 Forms
- 347 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions