Querying Accounts on Decisions
Hello,
I'm building a use case where I need to see whether a given account email is present within my current Decisions server within a Flow. Are there any queries or Steps I can use to accomplish this?
Comments
-
Hey there,
Yes, there is a query which you could use to potentially fit your use case. Performing the following query will return all associated details for all the accounts which exist in your Decisions instance:
select * from entity_account
For the most relevant information on the accounts (such as their actual email address and the type of the account they are using), you could use the following query:
select account_id, account_type, authentication_type, entity_name from entity_account
You could use these queries in any Raw SQL Step within a Flow. Do note that for larger data sets, this Step may not be the best fit performance wise for you use case.
In addition, there is also a way you can accomplish this using a Report with a Run Report Step. By creating a Report sourcing the Account Data Source, you can select similar fields as shown in the query above to get the same information.
You can then utilize a Run Report Step returning Data Rows to have the respective information available within the Flow.
Hope this helps!
-Cody
Howdy, Stranger!
Categories
- 4.5K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 277 Administration
- 215 Portal
- 503 General Q & A
- 721 Forms
- 355 Reports
- 3 Designer Extensions
- 47 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 72 Repository
- 237 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 26 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions