HomeForms

You can find an assortment of forms to import and use a templates/starting points

Using Input Data & Data Flows Internally in a Form Messages in this topic - RSS add reply

joel@decisions.com
joel@decisions.com
Administrator
Posts: 3


1/10/2019
joel@decisions.com
joel@decisions.com
Administrator
Posts: 3
Overview: This example illustrates how to take in data to a form while still updating that data from a flow kicked off inside the form. This project consists of a flow inputting accounts into a form, a form with a data grid, and a data flow in the form. This flow allows the addition of a new account and repopulates the data grid with the updated list of accounts.
Flow: The Accounts in Data Grid flow uses the Get All step to get all accounts and then inputs them into the data grid in the form from the Accounts input.

Form: The form has two user inputs, an event button, data grid, continue button, data flow, and input data that is specified in the form. The data grid is originally populated from the external flow. The user can input new account information and click the event button to start the data flow that inputs the name and email of the new account and adds it to the list of accounts. The continue button takes you out of the form and ends the flow.

Data Flow & Input Data: The Data Flows and Input Data sections can be found in the properties panel of the form under Form Rules and Form Data respectively.

Data Flow: The data flow takes in the New Account Name, New Account Email, and the Accounts list from the data grid. The flow adds the new account information as an item to the original list of accounts to create a new list and outputs that new list, which is used to repopulate the data grid in the form.

Input Data (IMPORTANT): If not specified data grid will only take in data flow output. By specifying the input data in the form, it allows the form to take in data from the external flow while still updating it by the output of the data flow. For this to work properly the Input Data section of the form, the Form Data Name of the Data Flow output, and the Data Name of the form component (data grid) you want to populate must be identical. In this example they are all named Accounts. The Form Data Name output for the data flow can be found by clicking edit on the data flow and edit on the output you want to use under Flow Outputs.


edited by joeln on 1/10/2019
edited by joeln on 1/10/2019
edited by joeln on 1/10/2019

0 link reply with quote


(Ctrl+Enter)




Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software