Data Functions act as a bridge that connects an application to a data table and establishes a relationship between them. There are 2 types of data functions:
- Data table Functions
- App data Functions
In this article, you will get to know about app data functions:
Since we related data functions to a bridge, data table function is one part of that bridge . The other part is app data function.
In order to create app data function, it is mandatory to create Data table Functions. Once you create data table functions at data table level, you need to map the same functions at the app level.
Follow the steps below to create app data functions.
- Open Manage Apps page.
- Select an application to which you want to create data functions.
- Click on the data functions (fx) option.
- You will land on the app data functions list page. Click on Add tab.
- You will land on the configuration page of the app data functions.
- Give a Name to the app data function.
- Select the Workflow Step and Workflow Step Action on which you want the function to be triggered.
- Select the Data Table on which you have created the Data Table Function. Now, select that particular data table function which you want to map in your app.
- Select the Type as Single (if you want to map the unique elements of the form) or List (if you want to map the elements of the grid).
- Click on Create Mapping.
- Once you click on the Create Mapping button, You will see a page to map the elements from app to the data table. Elements on the left (Function Elements column) are the elements in the data table and elements on the right are the elements in the app.
- You should map the elements present in the data table to the elements present in the application.
- Click Save.
- The app data function will save and the system will display a success toaster message.