Iterator - iterate based on condition

Description - Iterate a loop while (or until) a condition is met
 
Runtime Class - com.ibi.agents.XDIterCond


 

Parameter Groups

  Parameter Type Description
* Do-While: string Determines the loop logic between do-while or do-until

Select from one of the following options:
  • Do-While {true} - Iterate while the condition is true
  • Do-Until {false} - Iterate until condition is true
* Expression: string iWay (iFL) expression controlling the termination of the loop
* - denotes required
  Parameter Type Description
* Document: string The document emitted at each iteration is the original document or the result of the previous iteration.

Select from one of the following options:
  • Transient {transient} - Result of the previous iteration
  • Original {original} - Document when loop was entered
* - denotes required
  Parameter Type Description
* Document: string Final document emitted is a status document, the original document, the result of the last iteration or an accumulation. Accumulations are memory intensive.

Select from one of the following options:
  • Status Document {status} - Status document
  • Original Document {original} - Document when originally passing into this service
  • Transient {transient} - Result of the last iteration
  • Loop Accumulation {accumin} - Accumulation of the input loop elements sent from the flow back into the iterator at each pass. The loop may have modified the document passed to the accumulation. For XML, the root name will be the node name. Use of accumulation can result in significant use of memory.
  • Iterated Accumulation {accumout} - Accumulation of the output iterated elements of each pass; these are the documents that the loop services receive from the iterator. For XML, the root name will be the node name. Use of accumulation can result in significant use of memory.
* - denotes required

 

Output Events

 

Name Description
OnParseError Could not parse a document.