Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sequence

Use acts.core.sequence to execute sequential chains over a collection, where each subsequent execution depends on the completion of the previous one.

name: test
steps:
    - id: step1
      vars:
        - name: items
          value:
            - u1
            - u2
      uses: acts.core.sequence
      params:
        in: '${{ items }}'
        acts:
          # Generates 2 IRQ activities, executed one by one in sequence
          - uses: acts.core.irq
            params:
              key: act1

Comparison

TypePackageDescription
Parallelacts.core.parallelAll child activities execute simultaneously in parallel
Sequentialacts.core.sequenceChild activities execute one by one in order, each waiting for the previous
Blockacts.core.blockExecute nested acts in mode: sequence order

The engine automatically injects index and value into each child activity’s variable context.