Updating Data Grid Using Sub-Dialog Flow
  • 12 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Updating Data Grid Using Sub-Dialog Flow

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.13.0
Root FolderExample Lab-Updating Data Grid Using Sub-Dialog Flow
Modules None
DependenciesNone

This Example lab demonstrates how to use a Sub-dialog Flow to update a Data Grid on a Form.


Explanation

For this example, the native Account data type is used. In the Main Flow, The Fetch Entities Step outputs an account list. The Form has a Data Grid that displays the accounts. The Data Grid output type is set to "Output All". When a user selects a row on the Data Grid and then clicks the "Sub-Dialog Button", a Form will display with the current "department' information and a textbox to allow the user to update the Department information. Once the user clicks update, the Data grid on the Main form will  update with the new information for the selected Row.   This Sub Dialog Flow takes in the selected row on the Data Grid. The Form shows the current Department value for the Account. The user can use the textbox to modify only the Department field on the Account. The update step saves the changes, and the Flow outputs an updated list of accounts to be mapped back into the Data grid.

To test, run the Main Flow.

Reference Articles




Project Download

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. Import the project below to a Decisions environment on version 6.13.0 or later using our Importing/Exporting article.





Was this article helpful?