Skip to content

Commit

Permalink
feat(template): added result handling
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
superbeagle and igpetrov authored Jul 26, 2023
1 parent bc7c51d commit 3803292
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion element-templates/inbound-template-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
{
"id": "config",
"label": "Connector Configuration"
},
{
"id": "output",
"label": "Output"
}
],
"properties": [
Expand Down Expand Up @@ -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"
}
]
}

0 comments on commit 3803292

Please sign in to comment.