|
1 | 1 | [
|
2 | 2 | {
|
3 | 3 | "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
4 |
| - "name": "AdHoc Missing TaskDefinition", |
5 |
| - "id": "io.camunda.examples.AdHoc.MissingTaskDefinition", |
| 4 | + "name": "AdHoc Missing Output Collection", |
| 5 | + "id": "io.camunda.examples.AdHoc.MissingOutputCollection", |
6 | 6 | "version": 1,
|
7 | 7 | "appliesTo": ["bpmn:AdHocSubProcess"],
|
8 | 8 | "elementType": {"value": "bpmn:AdHocSubProcess"},
|
9 | 9 | "properties": [
|
10 | 10 | {
|
11 | 11 | "type": "Hidden",
|
12 |
| - "binding": {"type": "zeebe:adHoc", "property": "outputCollection"}, |
13 |
| - "value": "toolCallResults" |
| 12 | + "binding": {"type": "zeebe:taskDefinition", "property": "type"}, |
| 13 | + "value": "io.camunda.agenticai:aiagent-job-worker:1" |
14 | 14 | },
|
15 | 15 | {
|
16 | 16 | "type": "String",
|
|
22 | 22 | },
|
23 | 23 | {
|
24 | 24 | "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
25 |
| - "name": "AdHoc Missing Output Collection", |
26 |
| - "id": "io.camunda.examples.AdHoc.MissingOutputCollection", |
| 25 | + "name": "AdHoc Task Definition and Active Elements Collection", |
| 26 | + "id": "io.camunda.examples.AdHoc.Valid.BPMN", |
27 | 27 | "version": 1,
|
28 | 28 | "appliesTo": ["bpmn:AdHocSubProcess"],
|
29 | 29 | "elementType": {"value": "bpmn:AdHocSubProcess"},
|
|
35 | 35 | },
|
36 | 36 | {
|
37 | 37 | "type": "String",
|
38 |
| - "binding": {"type": "zeebe:adHoc", "property": "outputElement"}, |
| 38 | + "binding": {"type": "zeebe:adHoc", "property": "outputCollection"}, |
| 39 | + "value": "toolCallResults" |
| 40 | + }, |
| 41 | + { |
| 42 | + "type": "String", |
39 | 43 | "feel": "required",
|
| 44 | + "binding": {"type": "zeebe:adHoc", "property": "outputElement"}, |
40 | 45 | "value": "={ id: toolCall._meta.id, name: toolCall._meta.name, content: toolCallResult }"
|
| 46 | + }, |
| 47 | + { |
| 48 | + "type": "String", |
| 49 | + "feel": "required", |
| 50 | + "binding": {"type": "zeebe:adHoc", "property": "activeElementsCollection"}, |
| 51 | + "value": "=selectedTools" |
41 | 52 | }
|
42 | 53 | ]
|
43 | 54 | }
|
|
0 commit comments