Iterator - iterate using a comparator

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


 

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
* Operand One: string The first of two operands to compare
* Operation: string Comparison operator

Select from one of the following options:
  • equals case sensitive - Case sensitive comparison, A not equals a
  • equals case insensitive - Case insensitive comparison, A equals a
  • not equals (any type)
  • less than or equals (any type)
  • greater than or equals (any type)
  • less than (any type)
  • greater than (any type)
  • is null (not present)
  • is not null (something present)
  Operand Two: string The second of two operands to compare when operation is dyadic
* - 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 Document {transient} - Result of the previous iteration
  • Original Document {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 Document {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.