Skip to content

Commit 82b7442

Browse files
authored
EventRefs should have unique values (#521)
Signed-off-by: Tihomir Surdilovic <[email protected]>
1 parent 65b0749 commit 82b7442

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

schema/workflow.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@
385385
"items": {
386386
"type": "string"
387387
},
388+
"uniqueItems": true,
388389
"additionalItems": false
389390
},
390391
"actionMode": {

specification.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,8 @@ actions:
36703670
</details>
36713671

36723672
OnEvent definition allow you to define which [actions](#Action-Definition) are to be performed
3673-
for the one or more [events definitions](#Event-Definition) defined in the `eventRefs` property.
3673+
for the one or more [events definitions](#Event-Definition) defined in the `eventRefs` array.
3674+
Note that the values of `eventRefs` array must be unique.
36743675

36753676
The `actionMode` property defines if the defined actions need to be performed sequentially or in parallel.
36763677

0 commit comments

Comments
 (0)