Workflows are step sequences that automate the way you work.
In Ycode, you'll build workflows with ease in the intuitive workflow environment. You can use them for a variety of tasks, such as triggering an email to send, show or hide elements, and show a (pop-up) message.
Continue reading to learn about all available workflows and how to build them in Ycode.
In the editor, open the Workflows tab by going to the Left-hand side and selecting the third icon from the top. Once in the tab, click on + Create workflow to start a new workflow.
Give your new workflow a name and then click on Click here to add an event.
You can then select from two different events:
General followed by Page is loaded (when your app page is loaded, an action will happen)
Elements followed by Clicked (when an element is clicked, an action will happen)
The action will be set in the following step.
If you select Elements and then Clicked, you have to select the element. First, save your workflow and then go back to the Canvas.
Select the element, and open the Settings tab on the right-hand side. Under Attributes, you can then set an ID name.
Once you've set the name, go back to the Workflows tab and open your newly created workflow. In the dropdown menu, you can now select the ID name.
Once you've chosen your first event, it's time to choose the action that happens when that event is triggered. Select Click here to add an event.
You'll have two different events to choose from.
Delete database record
These are the basics of Ycode workflows! Now that you've learned the main steps, we'll go on to explain how you can create workflows for specific examples.