Questions Tagged With loophttps://answers.axonivy.com/tags/loop/?type=rss&user=Bj%C3%B6rnquestions tagged <span class="tag">loop</span>enFri, 22 Nov 2013 10:52:25 -0500Best Practice for filling a List in a loophttps://answers.axonivy.com/questions/105/best-practice-for-filling-a-list-in-a-loop<p>I'm using Xpert.ivy Designer 5.1.0 (Lauberhorn) S6. I tried to fill a List in a loop: </p> <ol> <li>In a form I ask the user, how many entries the list will have (numberOfIterations)</li> <li>With an Alternative Switch element I'm ensuring, that the following steps are executed as often as the defined number of iterations:</li> <li>In a form I ask the user for the attributes of the list entry (attribute one, attribute two)</li> <li>In three different variants I add the new list entry to the list. Only the most time consuming variant works. The other variants don't work as expected. I suppose, this is a bug.</li> </ol> <p>To better understand, please watch the <a href="http://youtu.be/PAn626HnR-Q?hd=1">screencast on YouTube</a> (2 minutes).</p> <p>An answer until 25.11. evening would be very appreciated.</p> <p>[EDIT]: <strong>Here the <a href="https://dl.dropboxusercontent.com/u/158270/TEMP_ZHAW_HS13/FillListInLoop.iar">link to the iar-File</a> for testing.</strong></p>BjörnFri, 22 Nov 2013 10:52:25 -0500https://answers.axonivy.com/questions/105/best-practice-for-filling-a-list-in-a-looplistloop