5 Replies Latest reply on Jul 31, 2013 9:43 AM by philmodjunk

    How to specify how many times a loop script do?

    TaylorJansen

      Title

      How to specify how many times a loop script do?

      Post

           I have a situation like this. If a customer choose a certain service, I have to provide this service  for different times

           For example:

           Service A : 3 times 

           Service B : 20 times 

           Service C : 10 times

            

           If a user choose such as service A, I want to create 3 new records in another table. If it is service B then create 20 new records.

           The script maybe like this:

           Loop 

             New Record Request

             Insert some values to some field

           End Loop 

            

           So how to specify how many times the loop perform?