- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Adding Additional Account Attributes
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.4.0 |
Root Folder | Example Lab - Data Extension |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to add an extra attribute to an existing user account in the Decisions instance.
Explanation
This project works by using a defined data structure to store the additional attribute, which in this example is employee ranking. To test the project the user must first run the Flow titled "Save Employee Ranking". This Flow will display a Form to the user with two drop-down list components. The first will be a list of accounts and the second will be a list of available employee rankings to choose from. In order to display a list of current accounts in the drop-down list, there is a data flow within the Form which uses the Fetch Entities step to return a list of user accounts. When you select a user account and employee ranking and click save those two selections will then be saved and associated with each other.
Once an employee has a ranking associated with their account the user can then use the Flow titled "Search For Employee Ranking". Here the Flow will display a Form requesting the user to enter the desired accounts email address. If the email address entered has a ranking associated with the account it will be displayed in the second text box. This is achieved by again using a Data Flow which contains the Fetch Entities step to return any account with an associated ranking.
There is also a "Reset all Employee Rankings" Flow. This Flow uses the Delete Entities step to clear all stored employee rankings so that they may be removed or changed.