687
Views
3
Comments
Solved
What is mean by function ?
Question
Application Type
Reactive

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 .


Screenshot (9).png
2021-11-08 12-36-10
Pedro Canário
Solution

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.

2022-08-23 05-13-34
Kishore

hi pedro , thanks for the explanation.

2020-06-10 05-06-30
shehroze khan

That's nice

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.