Data flow
According to the DMA template types topic, we introduced a general screen and APIs structure screen that have different purpose usages. On this topic, we will describe how they are different in terms of data flow.
Data flow on the general screen
When you go to the Storyboard menu on DMA manager, you need to set the data that will flow on the application. There are four steps on each screen. It starts with (1) Screen Input. At the first screen of an application, there isn’t this action. But a second screen or others, if you want to bring value from the data bus to use on the screen, you need to select global, native, or manual value here. Then (2) API Input, select API for the action button so API will pass values from data bus or the screen to call that API. third (3) API Output, if you want to keep values from API output then select Create Output menu on the Storyboard and add those values to the data bus or global list. The final step is (4) Screen Output, this is when you need to keep values from the screen (when users add values on screen), you can add those values to the data bus or global list.
Image : the four steps of data flow on the general screen.
Data flow on APIs structure screen
As we mentioned DMA template types on the previous topic, there are two actions about this screen type that are showing only API input and output format and another one calling API automatic.
However, this data flow will explain only the calling API automatic screen (another one has the same data flow as the general screen type)
It starts with (1) Screen Input. At the beginning, there isn’t any value in the data bus to use but the second screen or others are able to use those values because they are kept in the data bus already. If you want to bring value from the data bus to use on the screen, you need to select global, native, or manual value here. Then (2) Call API, the screen will call API automatically by passing values that are configured on the screen input to API. third (3) Display API outputs on screen, your API outputs will display on the screen. The final step is (4) Screen Output, if you need to keep values that show on the screen, you can add those values to the data bus or global list.
Image : the four steps of data flow on APIs structure screen.