Hi, this is sateesh,
In this case, I don't want to know the definition. I want to know why and give me one proper example
Hey @TELUGU SATEESH ,
Hope you will understand!
Thanks
Yogesh
Hi sateesh,
I have added oml please check.
Thanks,
Vipin Yadav
HI Sateesh,
We need local variables to hold some value temporally with in the action/screen/block... Because while writing logic sometime condition raise to store the value for some time so that we can use value later so we store it in local variable.
As you asked it may be type of entity identifier. Lets say you have some action in that you need to perform few actions for a particular user. So in this case it will be useful if I store UserId in a local variable so can use it anywhere in the scope of that action.
The use of local variable is same in OutSystems as it works in other programming languages. For better understanding you can go through the links mentioned above by other community members.
Regards
By this link your problem will be solved:-
1. Input Parameter
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Handling_Data/Variables/Input_Parameter
2. Local Variable
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Handling_Data/Variables/Local_Variable
3. OutPut Parameter
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Handling_Data/Variables/Output_Parameter
Hi, Vipin Yadav,
I need one more example for a local variable like a dataType is an entity Identifier.
Hi,
Local variable have scope within action. In that scope you can use it to store different types of value that outsystem provide.
Hello,
In his case , You need more explanation , In guided path, we have a video, here it is explained in detailhttps://www.outsystems.com/training/lesson/1772/variables-in-outsystems?LearningPathId=2I hope this helps.Thanks & Regards
Tousif Khan