Skip to content

Commit acae83e

Browse files
committed
fix: Fixed Schema and Specification to address requested changes
Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 7f7cb70 commit acae83e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

specification.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4605,10 +4605,10 @@ For more information, see the [Workflow Error Handling](#Workflow-Error-Handling
46054605
| Parameter | Description | Type | Required |
46064606
| --- | --- | --- | --- |
46074607
| refName | The name of the error handler definition to reference. If set, all other properties are ignored. | string | no |
4608-
| when | References the errors to handle. If null or empty, and if `exceptWhen` is null or empty, all errors are caught. | array of [errorRefs](#error-reference) | no |
4609-
| exceptWhen | References the errors not to handle. If null or empty, and if `when` is null or empty, all errors are caught. | array of [errorRefs](#error-reference) | no |
4608+
| when | References the errors to handle. If null or empty, and if `exceptWhen` is null or empty, all errors are caught. | array of [error references](#error-reference) | no |
4609+
| exceptWhen | References the errors not to handle. If null or empty, and if `when` is null or empty, all errors are caught. | array of [error references](#error-reference) | no |
46104610
| retry | The retry policy to use, if any. If a string, references an existing [retry definition](#retry-definition). | string or [retry definition](#retry-definition) | no |
4611-
| then | Defines the outcome, if any, when handling errors | [outcomeDef](#outcome-definition) | no |
4611+
| then | Defines the outcome, if any, when handling errors | [outcome definition](#error-outcome-definition) | no |
46124612

46134613

46144614
<details><summary><strong>Click to view example definition</strong></summary>
@@ -4738,10 +4738,9 @@ By defining error policies, workflows can easily apply consistent error handling
47384738

47394739
| Parameter | Description | Type | Required |
47404740
| --- | --- | --- | --- |
4741-
| compensate | If `true`, triggers workflow compensation, then proceeds to the current state's outcome. | boolean | yes if `end`, `transition` and `throw` are null, otherwise no. |
4742-
| end | If `true`, ends the workflow. | boolean or [end definition](#end-definition) | yes if `compensate`, `transition` and `throw` are null, otherwise no. |
4743-
| transition | Indicates that the the workflow should transition to the specified state when the error is handled. All potential other activities are terminated. | string or [transition](#transition-definition). | yes if `compensate`, `end` and `throw` are null, otherwise no. |
4744-
| throw | Indicates that the handled error should be rethrown. If true, the error is re-thrown as is. Otherwise, configures the error to throw, potentially using runtime expressions. | boolean or [error throw definition](#error-throw-definition). | yes if `compensate`, `end` and `transition` are null, otherwise no. |
4741+
| end | If `true`, ends the workflow. | boolean or [end definition](#end-definition) | yes if `transition` and `throw` are null, otherwise no. |
4742+
| transition | Indicates that the the workflow should transition to the specified state when the error is handled. All potential other activities are terminated. | string or [transition](#transition-definition). | yes if `end` and `throw` are null, otherwise no. |
4743+
| throw | Indicates that the handled error should be rethrown. If true, the error is re-thrown as is. Otherwise, configures the error to throw, potentially using runtime expressions. | boolean or [error throw definition](#error-throw-definition). | yes if `end` and `transition` are null, otherwise no. |
47454744

47464745
<details><summary><strong>Click to view example definition</strong></summary>
47474746
<p>

0 commit comments

Comments
 (0)