The If Then Else action allows defining different processing paths in the Kuika platform according to certain conditions. It is used to manage logical decisions within the application and create dynamic workflows. If the condition is true, the actions in the “If” section are executed, and if the condition is false, the actions in the “Else” section are executed. Action is supported in both web and mobile applications.
Adding If Then Else Action to the Project
Configuring If Then Else Action
You can create condition-based transaction flows by configuring the following fields in the drop-down menu:
These actions may include system or custom actions such as page redirection, data update, warning.
So what we are doing here is setting up an “if-conditional” structure: If the condition you specified is met → do these actions, if not → do these actions.
All Common Condition Descriptions
Condition Types and Usage Explanations
Now (Current Date-Time)
True / False (Boolean Fields)
New Guid / Empty Guid
Current User Name
Client IP Address
Version Info
Role List (User Role)
If-Then-Else Structure
If Actions
Else Actions
In an application, it may be desired to redirect to separate screens according to different user roles (for example, Admin, User, Guest). Kuika's If Then Else action allows you to easily perform such role-based routing operations. With this action, the role of the user logging in to the application is checked and redirected to the appropriate screen. This provides a custom experience for the user and authorization management.
Add If Then Else Action
Configuring If Then Else Parameters
In the window that opens, configure the following fields:
The “Will Execute If” field is the section that checks whether the condition you define is true. A condition is written here that specifies in which case the system will execute the “If Actions” section. If this condition is met, “If Actions” will run.
If it is not met, i.e. the condition is false, “Else Actions” is activated.
Example Usage
In this example:
What Kind of Conditions Can I Write?
In the “Will Execute If” field;
If Actions: Here you can define the actions to be executed if the condition is true.
Example: If the condition “data.user.role” =“Admin” is met, redirect to the AdminPanel screen.
Else Actions: You can define the actions to be executed if the condition is false.
Example: Redirect to UserPanel screen if not admin.
Dynamic Routing:
Routing can be done according to the user's profile or transaction history.
Condition Creation Sources:
Action Input Configuration:
Post Action Usage
Technical Risks and Recommendations
If Then Else action allows you to make condition-based decisions in your application. It improves the experience by creating flexible action flows based on user interactions and application data. It is an effective tool for routing, form validation and approval processes.