Skip to main content


 

Symptoms


'Identifier' field missing from the Create Reference event in the Silverlight Workflow designer in Appit 1.3 and 1.4.
 

Diagnoses


Known issue.
 

Resolution

How to create a manual For Loop:

- Create a SmartBox SmartObject to hold both the length of the list you are iterating through and the current index of the loop (at ID = 0, because we only need one set of data).

- Initialize the SmartObject fields using a SmartObject Save event, using SmartObject ID = 0:
- Index = 0
- Length = Length() Inline Function, passing in a field from the Get List method the List that we are looping through.

- On each pass of the loop, increment the index with a SmartObject Save method, saving an Expression containing the current value of that field (by using a Load method inputting ID = 0) ' ' 1.

- Create two conditional line rules, and get the SmartObject values by the aforementioned Load method @id=0:
- "Next Item": Index 'Less Than Or Equal To' Length
- "No More Items": Index @id=0 'Greater Than' Length




 
Be the first to reply!

Reply