The easy and simple no-code way of building your code logic
What is the Need for the Action Flow?
You have been designing several apps in Studio for some time now with workflows for completing tasks to update sheets, create PDFs, and so on. You would have used most of these on submission of the form to accomplish your tasks in the respective workflow which typically happen in the background. You are also aware of the actions that can be performed in the event of the click of the Action button. There are some actions that are more oriented towards building a logic workflow or code to perform a certain set of actions on the client-side. With Studio being a no-code platform we are aware that you have felt the need for such capabilities. Thus we are now introducing the Action Flow that provides you the capabilities to build your customized actions visually and that is performed on the Client-side to give an immediate response as to the action completion.
Where is the Action Flow?
Now you are already aware of the Action button. Once you add an Action button, you can see the Actions option. When you click the Actions option, you can see the button_click Action.
Click to go to the Action flow interface. Note that it is similar to the Workflow interface. Here you can see the different Action blocks available. The Conditional branch is an addition to the Logic block is here. Some more action blocks have also been introduced to further enable you to customize your actions. The new blocks are Set control value (SETCTRLVALUE), Show/Hide Page Loader, Confirm dialog box and the Computation block. The other blocks were available to a certain extent earlier too. Their functionality remains the same.
How to use the Action Flow?
In the Builder, select the Action button and select its Action section. Click button_click to view the Action flow. Here you can see the list of Action blocks. Let us understand a few of them.
1. Logic block: The Logic block has an action item or features to add a conditional branch that helps define the next action if a condition is satisfied. You can also define Persistent and non Persistent variables and Set Variables using the Computation block. These variables can then be also used in other actions as well as required.
2. Navigate block: This block provides you with the features to add navigation to certain pages or open a specific URL when a certain action is performed.
3. Controls block: This block allows you to set the value for the specific control when an action is performed. Moreover, you can set the state of the controls namely to show or hide using ShowCTRL and HIDECTRL actions.
4. APP block: This block provides some APP specific actions to show or hide Page Loader, display a Confirmation dialog box, and validate and/ or reset pages on submission.
5. Native block: This block provides you with the common actions to Call, Email, and send SMS on performing some action.
There are other Action blocks like App actions, Navigate actions, DB Connectors, and rest API actions, and so on that, you can add as per the logical flow you want to create. These actions are usually local actions while some of the actions like updating sheets will be performed on the server-side. Moreover, in these actions, you can also set the environment where the actions should be executed. Now there are some actions that might wait for a response. Here in Action flows you can also specify whether you need to wait for the response to continue with the action flow.
There is no Action Flow Analytics available as these actions are performed on the client-side.
Thus you can see how you are using a visual method to build your functionalities and features here that are often possible using the workflow. The biggest advantage of using the Action flows is that you can perform the actions instantly and need not wait for the workflow to be executed later and then reflect your data accordingly.
We are sure this gives you additional capabilities to build your action flow using the numerous Action blocks available. In case you have any thoughts, suggestions, or feedback? We’d love to hear from you. Head to our forum to share in our Suggestions Section.