Skip to content
Discussion options

You must be logged in to vote

The tasks are supposed to run sequentially, not in parallel.

To run in parallel, you can do:

document:
  dsl: '1.0.2'
  namespace: test
  name: for-example
  version: '0.1.0'
do:
  - checkup:
      for:
        each: pet
        in: .pets
        at: index
      while: .vet != null
      do:
        - brachTask:
              fork: 
                branches:
                  - task1:
                  - task2:

Inside your for loop, you do a fork. Simply!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rojkov
Comment options

@rojkov
Comment options

@ricardozanini
Comment options

@rojkov
Comment options

Answer selected by rojkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants