When developing applications with Kuika, you can add multiple actions to a screen and/or element. For multiple actions you add, the order of the actions is important.
This training content consists of the following topics:
Sequencing is important in actions. In Kuika, the working logic of actions added to screens and/or elements during the application development process is based on a linear order. The actions you add to a screen and/or element are listed in the order of addition (from the first added to the last added) under Actions under the Properties panel. The working logic of multiple actions you add in the application you have developed is from the first added action to the last added action.
Therefore, the first added action will run first, and the actions added after it will run in linear order.
Since the actions work according to the added order, one of the return values of the previous action can also be used as a parameter value in the next action.
Let's go through the actions added on a sample Add Staff page. There is a Save button on the add staff screen.
When the Save button is clicked, first add the personnel, then notify that the personnel has been added and return to the Personnel listing screen.
In order to achieve this process flow, 3 different actions must be used and the working order of the 3 different actions:
You can change the order of the actions you add to a screen and/or element later.
Let's proceed with the example action panel given above.
To change the order of the actions, go to Action under Properties of the relevant screen and/or element.
You can see that the actions you added under Action are listed in the order you added them.
Press and hold the action you want to change the order of with the mouse, drag it to the desired order and release it.