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
- 2.1K All Categories
- 17 General
- 154 Installation / Setup
- 980 Flows
- 86 Rules
- 198 Administration
- 203 Portal
- 426 General Q & A
- 592 Forms
- 280 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 137 Pages
- 1 Process Mining
- New Features
- 144 Datastructures
- 49 Repository
- 163 Integrations
- 25 Multi-Tenant
- 21 SDK
- 39 Modules
- 36 Settings
- 18 Active Directory
- 12 Version 7
- 34 Version 8