You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup/mwm-workflow-spec.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -800,21 +800,24 @@ An example format of the metadata.json can be found below:
800
800
execution stats are populated from the argo execution values returned automatically.
801
801
802
802
#### Handled Exception Metadata
803
-
Application models can throw handled exceptions to do this application model should output to the `metadata.json` and include for example...
803
+
Application models can throw handled exceptions, to do this your application model should output the properties "exception" and "exception_message" to the `metadata.json`
804
+
805
+
Example...
804
806
```json
805
807
{
806
808
"exception": "NoDicomFilesException",
807
809
"exception_message": "No dicom files found."
808
810
}
809
811
```
810
812
811
-
This can be used in the workflow task destinations queries for example like the following examples...
813
+
We recommend your application exits execution once the metadata.json has been written.
814
+
815
+
This exception can be used in the workflow task destinations queries for example like the following examples...
0 commit comments