Let’s build a straightforward screen that receives a name and shows an alert welcoming the user.
On OutSystems Service Center, drag and drop one input widget and a button to the screen.
Our input needs a variable to store the typed text. Thus, assign the input to the variable.
Next, the button needs an action triggered on the user’s click. Open it.
Double-click the node; write your script code in the placeholder.
For a simple demonstration, write a window alert.
Let’s now use the text input containing the end-user name.
Use that new argument on the code, concatenated to the text.
Open your app, write your name on the input field, press the button, and... we get a message.
All this, just using a simple JS node.
Synchronously uploading and processing data sometimes leads to a timeout. And, if not dealt with, timeouts can result in incomplete or duplicated data. We could solve this using different approaches, but let’s see how to use light BPT to process large amounts of data.
Let’s go over a few tricks to create new elements and automatically relate them to other existing elements.