Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Pass parameters to a cascade of services using javascript ( serviceName.execute())

I think the best way to do it is:

Save the array of orders to the Storage variable
Save the current index of the order (which you call in this function) there as well
Call the function on the success event of the previous one with increasing that index value and using the appropriate order from the Storage variable

Return to “Issues”