how foreach loop work. need sample project

how foreach loop work. need sample project

  

Hi,

I am new to the outsystem. need to implement the Forech loop in the application. can you guide me?

Hi Shyam,


If you are new to OutSystems, I would recommend the initial training available here:

https://www.outsystems.com/learn/courses/15/developing-outsystems-web-applications/?StartCourse=False


Regarding the for each you have the reference documentation in the following link:

https://success.outsystems.com/Documentation/10/Reference/Logic/Implementing_Logic/Web_Logic_Tools/For_Each


The for each takes a record list as a parameter and will execute the actions you put after the cycle connector:


Cheers,

Renato


Shyam Gupta wrote:

Hi,

I am new to the outsystem. need to implement the Forech loop in the application. can you guide me?



Will i get, step by step to implement forEach loop.

As per the defination, i know how it works, but while iterating, i am getting error while assigning it to it.


Appreciated, if i get step by step to implement a foreach loop

Hi,

If you are new to Outsystems, I highly recommend you watch Outsystems free training courses.

The specific video where ForEach loops are explained is here: https://www.outsystems.com/learn/lesson/853/actions-and-code-reusability/

Cheers,

João

Shyam Gupta wrote:

Will i get, step by step to implement forEach loop.

As per the defination, i know how it works, but while iterating, i am getting error while assigning it to it.


Appreciated, if i get step by step to implement a foreach loop

Hi Shyam,

Can you share the error that you're getting?


Cheers,

Tiago.