From 92e38fd1bd092c0994e816c8bc85aefe43bfc90c Mon Sep 17 00:00:00 2001 From: Emmanuel Evance Date: Tue, 27 Jun 2023 12:48:24 +0300 Subject: [PATCH] update on execution description --- docs/cli.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index ebac0680e04..433c3dd2cd8 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -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: @@ -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