Hi,
How to comment parts of the code in OutSystems? I would like to not execute parts of a code in the action flow without deleting it.
Is it possible?
Regards,
Jessica Marques
Hi Jessica,
You can disable/Inactive the action flow elements by selecting the unwanted elements and opting for the Disable Element option available in the right click option as shown below
Hope this helps you!
Benjith Sam
Benjith Sam wrote:
Hi Benjith,
Yeah! It was exactly what I needed.
Have a nice weekend!
Jessica.
Jessica Marques wrote:
You are welcome, Jessica :)
Happy weekend to you :)
You can disable an element or a set of elements by selecting your unwanted elements and right clicking on them, after that select the option disable element/s. To enable them back right click on the disabled element and select enable element.
Hope it helps.
Miguel Chaparra
Miguel Chaparra wrote:
Hi Miguel,
Thanks for the help!
This is indeed the way to comment out code in OutSystems.
Let me just add that if there is a scenario where you want to “try out” two different action flows independent of each other, there is the concept of feature flags (or feature toggles) which you can use in this case.
Here is some reading material on that topic:
Nordin
Nordin Ahdi wrote:
Hi Nordin,
Amazing!
I will read it. I really like to read these articles.
Thanks so much for the indication.
You’re welcome Jessica :)
Keep exploring the many amazing things you can build with OutSystems!