Iterator mode
Connectors in Iterator mode are used to scan a data source and extract its data. The Connector in Iterator mode actually iterates through the data source entries, reads their attribute values, and delivers each entry to the AssemblyLine Flow section components, one at a time. A Connector in Iterator mode is commonly referred to as an Iterator Connector, or just Iterator.
AssemblyLines (except those called with an IWE; see Providing an Initial Work Entry (IWE)) typically contain at least one Connector in Iterator mode. Iterators supply the AssemblyLine with data by building Work Entries and passing these to the AL Flow section.
Flow section components are powered in order, starting at the top of the Flow list. When Flow processing completes, control is passed back to the Iterator in order to retrieve the next entry.
- Multiple Iterators in an AssemblyLine
- Using the Iterator mode
It is very common to have an Iterator drive the AssemblyLine.- Providing an Initial Work Entry (IWE)
Parent topic:
Connector modes