How can I access selected items from a data grid in my active form flow?
Comments
-
In order to access selected items from a data grid as an input in an active form flow, you need to ensure that your form meets these requirements:
-It includes at least one outcome path button
-In the data grid’s properties, under ‘Output Data’, the ‘Grid Mode’ is set to either ‘SingleSelect’ or ‘MultipleSelect’
The below example demonstrates using this input:
(Please Note: The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: services@decisions.com)
A fetch entities step gets all accounts and inputs them into the form.
These results are passed into the ‘Active Form Flow Data Grid’ form. This form has a data grid, text box, and an active form flow.
In the data grid’s properties, under ‘Output Data’, the ‘Grid Mode’ is set to ‘MultipleSelect’.
The ‘Data Grid Active Form Flow’ is triggered by the data grid selection changing.
The selected item can be found under the input path ‘FormData.DynamicDataGrid.Selected Item’.
The below active form flow runs a rule to determine if there is a selected item. If there is, a join strings step creates a string of all currently selected account email addresses and displays them in the textbox, but leaves it blank if nothing is selected.
For additional information on active form flows please see the attached documentation page:
https://documentation.decisions.com/docs/active-form-flows-overview
Howdy, Stranger!
Categories
- 4.3K All Categories
- 74 General
- 12 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions