From 0b41737a0975f5fac72c921157b0fe1f371d9a3e Mon Sep 17 00:00:00 2001 From: liuxiong Date: Wed, 17 Jan 2024 17:24:28 +0800 Subject: [PATCH] fix contextAttributes example as they should be of object/map type Signed-off-by: liuxiong --- specification.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification.md b/specification.md index 03ddd366..e919c04c 100644 --- a/specification.md +++ b/specification.md @@ -5084,9 +5084,9 @@ before the workflow execution is stopped, and continued as a new workflow instan { "eventRef": "provisioning-complete-event", "data": "${ .provisionedOrders }", - "contextAttributes": [{ + "contextAttributes": { "buyerId": "${ .buyerId }" - }] + } } ``` @@ -5097,7 +5097,7 @@ before the workflow execution is stopped, and continued as a new workflow instan eventRef: provisioning-complete-event data: "${ .provisionedOrders }" contextAttributes: -- buyerId: "${ .buyerId }" + buyerId: "${ .buyerId }" ```