Skip to content

Commit

Permalink
adding info to docs
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Apr 5, 2024
1 parent cf06297 commit 76cef11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions guidelines/mwm-workflow-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ This is the top-level object in a workflow spec. It contains the following prope
|description|Optional[str] (200)|
|informatics_gateway|[InformaticsGateway](#informatics-gateway)|
|tasks|list[[Task](#tasks)]|
|dataRetentionDays|int|
|predicate|string[]|

The following is an example of the structure of a workflow.

Expand All @@ -134,8 +136,9 @@ The following is an example of the structure of a workflow.
┗ tasks\
&nbsp;&nbsp;&nbsp; ┣ task1\
&nbsp;&nbsp;&nbsp; ┣ task2\
&nbsp;&nbsp;&nbsp; ┗ task3

&nbsp;&nbsp;&nbsp; ┗ task3\
┣ dataRetentionDays\
┣ predicate [A detailed breakdown of predicate logic can be found here.](https://github.com/Project-MONAI/monai-deploy-workflow-manager/blob/develop/guidelines/mwm-conditionals.md)


#### Examples
Expand All @@ -159,6 +162,8 @@ An example of a workflow with two tasks:
"ORTHANC"
]
},
"dataRetentionDays": -1,
"predicate" : []
"tasks": [
{
"id": "mean-pixel-calc",
Expand Down

0 comments on commit 76cef11

Please sign in to comment.