This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bw2:looping_tool [2023/07/17 11:27] wgates [The Looping Tool] |
bw2:looping_tool [2024/09/24 15:39] (current) dlee [Loop Variables] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Introduction (Looping Tool) ====== | ||
| - | This page describes the use of the “looping” tool in Bizweaver. | + | ====== |
| - | + | ||
| - | ====== | + | |
| The Bizweaver “looping” tool is used to process a series of objects in succession while optionally performing other actions on each object. Typical use cases include: | The Bizweaver “looping” tool is used to process a series of objects in succession while optionally performing other actions on each object. Typical use cases include: | ||
| - | * Processing a set of records generated from an SQL Query | + | * Processing a set of records generated from a SQL Query |
| * Processing multiple input files in one workflow cycle | * Processing multiple input files in one workflow cycle | ||
| * Processing records from a File Reader | * Processing records from a File Reader | ||
| Line 81: | Line 78: | ||
| </ | </ | ||
| - | + | In this example, we want to drop out of the loop when records are no longer available for processing. The difference here is that we are checking for valid records in blocks of 50 records. | |
| - | The following example workflow illustrates how conditional looping works. This example is for demonstration purposes but can serve as a foundation to understand the concept. | + | |
| - | + | ||
| - | In this example, we want to drop out of the loop when records are no longer available for processing. The difference here is that we are checking for valid records in blocks of 50 records. Again, this for illustration only. | + | |
| {{ : | {{ : | ||
| Line 100: | Line 94: | ||
| | StepMessage | | StepMessage | ||
| | StepStatus | | StepStatus | ||
| + | |||
| + | ---- | ||
| + | **[[bizweaver: | ||