From 380329245b4f870cd6d4c55f8bcf7a89e91cb183 Mon Sep 17 00:00:00 2001 From: Joe Pappas Date: Wed, 26 Jul 2023 03:34:21 -0500 Subject: [PATCH] feat(template): added result handling * Update inbound-template-connector.json Added resultVariable and resultExpression examples to template. Also updated group of Sender to config rather than non-existent endpoint group * chore(template): renamed label --------- Co-authored-by: Igor Petrov <108870003+igpetrov@users.noreply.github.com> --- .../inbound-template-connector.json | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/element-templates/inbound-template-connector.json b/element-templates/inbound-template-connector.json index 3640685..4623ba2 100644 --- a/element-templates/inbound-template-connector.json +++ b/element-templates/inbound-template-connector.json @@ -18,6 +18,10 @@ { "id": "config", "label": "Connector Configuration" + }, + { + "id": "output", + "label": "Output" } ], "properties": [ @@ -45,13 +49,36 @@ "type": "String", "label":"Sender", "feel": "optional", - "group":"endpoint", + "group":"config", "description":"Message sender name", "value": "Alice", "binding": { "type": "zeebe:property", "name": "sender" } + }, + { + "label": "Result variable", + "type": "String", + "group": "output", + "optional": true, + "binding": { + "type": "zeebe:property", + "name": "resultVariable" + }, + "description": "Name of variable to store the contents of the event" + }, + { + "label": "Variable expression", + "type": "String", + "group": "output", + "feel": "required", + "optional": true, + "binding": { + "type": "zeebe:property", + "name": "resultExpression" + }, + "description": "Expression to map elements of the event to process variables" } ] } \ No newline at end of file