- Nested For Each: If there is a product list for each user, it can be managed with a two-layered For Each structure.
- Conditional Actions: Conditional control can be performed for each item with the If structure.
- Dynamic Action Generation: The operations within For Each can be integrated with many actions such as Switch, Assign, Update, Navigate.
Technical Risks and Controls
- Empty List: If the list to be processed by For Each is empty, the internal actions will not execute. The list length should be checked.
- Performance: Processing long lists sequentially may affect performance. Delay management may be required.
- Synchronisation Issue: If a synchronisation structure is not established within the action chain, data transfers may not work correctly.
For Each is a powerful control structure in Kuika for repetitive data processing. It has a wide range of applications, from managing user lists to processing products, database updates, and cyclic screen updates. It provides direct access to data using the Current symbol and allows specific actions to be performed on each row.