Skip to content

Commit 85e2774

Browse files
committed
fixing errors
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
1 parent 1a9dc24 commit 85e2774

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

specification.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3151,10 +3151,10 @@ Note that `transition` and `end` properties are mutually exclusive, meaning that
31513151
| [stateDataFilter](#State-data-filters) | State data filter definition | object | no |
31523152
| [onErrors](#Error-Definition) | States error handling and retries definitions | array | no |
31533153
| [transition](#Transitions) | Next transition of the workflow after callback event has been received | object | yes if "end" is not defined |
3154-
| [end](#End-Definition) | Is this state an end state | object | no |
3154+
| [end](#End-Definition) | Is this state an end state | object | yes if "transition" is not defined |
31553155
| [compensatedBy](#Workflow-Compensation) | Uniaue name of a workflow state which is responsible for compensation of this state | String | no |
31563156
| [usedForCompensation](#Workflow-Compensation) | If true, this state is used to compensate another state. Default is "false" | boolean | no |
3157-
| [metadata](#Workflow-Metadata) | Metadata information| object | yes if "transition" is not defined |
3157+
| [metadata](#Workflow-Metadata) | Metadata information| object | no |
31583158

31593159
<details><summary><strong>Click to view example definition</strong></summary>
31603160
<p>
@@ -4155,8 +4155,6 @@ If `transition` is not defined you can also define the `end` property which will
41554155
Note that the `transition` and `end` properties are mutually exclusive, meaning that you can only specify one or the other,
41564156
but not both at the same time.
41574157

4158-
Note that `transition` and `end` properties are mutually exclusive, meaning that you cannot define both of them at the same time.
4159-
41604158
For more information, see the [Workflow Error Handling](#Workflow-Error-Handling) sections.
41614159

41624160
##### Retry Definition

0 commit comments

Comments
 (0)