In Reactive guided path when i am doing logic exercise i saw one term as function in - Action flow , i can not fully understand it could any one explain the main use of the function .
Hi Kishorevijay Lakshmanan,
Functions is like a normal action but must return a value and can be used in expressions. Normal actions just can be use in normal bussiness logic, function can be use directly on the screen in an expression.
For example if everywhere you want to show a Name in screen you want to show it in a specific way. You can create and action (with function set to Yes) and use the output in the expression in the screen. This is not possible if the action isn't a function.
Read this documentation: https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Logic/Implementing_Logic/Logic_Elements/Server_Action
Best Regards,
Pedro C.
hi pedro , thanks for the explanation.
That's nice