| 1 |
--- |
| 2 |
version: '2.0' |
| 3 |
|
| 4 |
name: with_items_wb |
| 5 |
|
| 6 |
workflows: |
| 7 |
wf: |
| 8 |
input: |
| 9 |
- count: 10 |
| 10 |
- concurrency: 0 |
| 11 |
|
| 12 |
tasks: |
| 13 |
task1: |
| 14 |
with-items: i in <% range(0, $.count) %> |
| 15 |
action: std.echo output=<% $.i %> |
| 16 |
concurrency: <% $.concurrency %> |