Skip to content

Commit

Permalink
update on execution description
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuchi committed Jun 27, 2023
1 parent ac1a139 commit 92e38fd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,9 @@ openfn workflow.json -o tmp/output.json
```

On execution, this workflow will first run the `getPatients` job,If succeed then
`createTEIs` will run using the final state of `getPatients`.
`getGlobalOrgUnits` will not run.
`getGlobalOrgUnits` will run using the final state of `getPatients`. If
`getGlobalOrgUnits` succeed then `createTEIs` will run using the final state of
`getGlobalOrgUnits`.

Note that without the `-i` flag, you'll need to already have your adaptor
installed. To execute the workflow with adaptor autoinstall option:
Expand All @@ -1077,8 +1078,9 @@ openfn workflow.json -i -o tmp/output.json
```

On execution, this workflow will first auto-install the adaptors then run
`getPatients` job. If that first job succeeds then `createTEIs` will run using
the final state of `getPatients`. The `getGlobalOrgUnits` job will not run.
`getPatients` job,If succeed then `getGlobalOrgUnits` will run using the final
state of `getPatients`. If `getGlobalOrgUnits` succeed then `createTEIs` will
run using the final state of `getGlobalOrgUnits`.

:::danger Important

Expand Down

0 comments on commit 92e38fd

Please sign in to comment.