Hi. I’m evaluating Camunda for our potential needs. Most of the flows will be creating processes involving user tasks, custom forms. Idea is to start a process with initial form submit, then allow editing the form, then eventually closing it. I’ve installed a local docker compose based core installation of Camunda 8.5 (with Zeebe, Operate, Tasklist and Elasticsearch). Everything seems to be running fine. I’ve modelled a super simple process with start (linked form), user task of type “zeebe user task” (same linked form), and end. I deploy the process and form to local zeebe. I go to Tasklist and start the process, fill the form (i login as demo/demo btw). The user task never shows up in the list. I tried adjusting filters, calling with API directly against tasklist api - it is simply never returned. When I look in Operate, the process is running fine, stuck at the user task step.
If I try the above scenario but change the task type to “job worker”, it shows up fine in Tasklist every time. I need it to be “zeebe user task” as I want to be able to add more lifecycle states to it so that I can edit the form, etc. Plus it looks like we are supposed to move to this new task type anyway.
So then I signed up for a trial SAAS version, running same 8.5 version. Guess what, deploying same process and form there works perfectly. Zeebe user task shows up in Tasklist. Why doesn’t this work in my local install?
Not a promising start since I got stuck on my first attempt. Is this my deployment somehow? My lack of knowledge? Bugs? Any help would be appreciated.
Here’s the process:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="8c4dae7" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.5.0" camunda:diagramRelationId="c721d37b-d44a-4247-bb72-a5ff3e4342a7">
<bpmn:process id="Process_1hb7f40" name="Address Change" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Initiate Address Change">
<bpmn:extensionElements>
<zeebe:formDefinition formId="Form_Address_Change" />
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1hreh8u</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Activity_0yaf2o9" name="Review Address Change Request">
<bpmn:extensionElements>
<zeebe:userTask />
<zeebe:formDefinition formId="Form_Address_Change" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1hreh8u</bpmn:incoming>
<bpmn:outgoing>Flow_0dsh6ln</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1hreh8u" sourceRef="StartEvent_1" targetRef="Activity_0yaf2o9" />
<bpmn:endEvent id="Event_10xttwq" name="Complete Address Change">
<bpmn:incoming>Flow_0dsh6ln</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0dsh6ln" sourceRef="Activity_0yaf2o9" targetRef="Event_10xttwq" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1hb7f40">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="150" y="100" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="128" y="143" width="80" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1a7qjjc_di" bpmnElement="Activity_0yaf2o9">
<dc:Bounds x="320" y="78" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_10xttwq_di" bpmnElement="Event_10xttwq">
<dc:Bounds x="562" y="100" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="540" y="143" width="82" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1hreh8u_di" bpmnElement="Flow_1hreh8u">
<di:waypoint x="186" y="118" />
<di:waypoint x="320" y="118" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0dsh6ln_di" bpmnElement="Flow_0dsh6ln">
<di:waypoint x="420" y="118" />
<di:waypoint x="562" y="118" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
And here’s the form:
{
"executionPlatform": "Camunda Cloud",
"executionPlatformVersion": "8.5.0",
"exporter": {
"name": "Camunda Web Modeler",
"version": "8c4dae7"
},
"schemaVersion": 16,
"id": "Form_Address_Change",
"components": [
{
"text": "# Address Change Request",
"label": "Text view",
"type": "text",
"layout": {
"row": "Row_1858vcu",
"columns": null
},
"id": "Field_0fh6k3g"
},
{
"components": [
{
"label": "Customer ID",
"type": "textfield",
"layout": {
"row": "Row_14kjnfr",
"columns": null
},
"id": "Field_18udy45",
"key": "customerId"
},
{
"label": "First Name",
"type": "textfield",
"layout": {
"row": "Row_11gzw0j",
"columns": 8
},
"id": "Field_1dtlew8",
"key": "firstName"
},
{
"label": "Last Name",
"type": "textfield",
"layout": {
"row": "Row_11gzw0j",
"columns": 8
},
"id": "Field_115l8gn",
"key": "lastName"
}
],
"showOutline": true,
"label": "Customer Details",
"type": "group",
"layout": {
"row": "Row_1qv52di",
"columns": null
},
"id": "Field_0azb27c"
},
{
"components": [
{
"label": "Unit",
"type": "textfield",
"layout": {
"row": "Row_1yh9cvc",
"columns": 4
},
"id": "Field_0gp2gna",
"key": "currentAddressUnit"
},
{
"label": "Street",
"type": "textfield",
"layout": {
"row": "Row_1yh9cvc",
"columns": null
},
"id": "Field_0oxykif",
"key": "currentAddressStreet"
},
{
"label": "State / Province",
"type": "textfield",
"layout": {
"row": "Row_1a7uqjs",
"columns": null
},
"id": "Field_1e01cbh",
"key": "currentAddressState"
},
{
"values": [
{
"label": "Canada",
"value": "Canada"
},
{
"label": "USA",
"value": "USA"
}
],
"label": "Country",
"type": "select",
"layout": {
"row": "Row_1bhcax7",
"columns": null
},
"id": "Field_0vlpjpb",
"key": "currentAddressCountry",
"defaultValue": "Canada"
},
{
"label": "Postal / Zip Code",
"type": "textfield",
"layout": {
"row": "Row_1gbrdil",
"columns": null
},
"id": "Field_0f7w9u9",
"key": "currentAddressCode"
}
],
"showOutline": true,
"label": "Current Address",
"type": "group",
"layout": {
"row": "Row_0gkbr3n",
"columns": 8
},
"id": "Field_0a48l37"
},
{
"components": [
{
"label": "Unit",
"type": "textfield",
"layout": {
"row": "Row_052uxac",
"columns": 4
},
"id": "Field_15eqat6",
"key": "newAddressUnit"
},
{
"label": "Street",
"type": "textfield",
"layout": {
"row": "Row_052uxac",
"columns": null
},
"id": "Field_1y15frl",
"key": "newAddressStreet"
},
{
"label": "State / Province",
"type": "textfield",
"layout": {
"row": "Row_0535cpp",
"columns": null
},
"id": "Field_1v860oi",
"key": "newAddressState"
},
{
"values": [
{
"label": "Canada",
"value": "Canada"
},
{
"label": "USA",
"value": "USA"
}
],
"label": "Country",
"type": "select",
"layout": {
"row": "Row_1ctzug4",
"columns": null
},
"id": "Field_1albpmk",
"key": "newAddressCountry",
"defaultValue": "Canada"
},
{
"label": "Postal / Zip Code",
"type": "textfield",
"layout": {
"row": "Row_008qwju",
"columns": null
},
"id": "Field_09idxgn",
"key": "newAddressCode"
}
],
"showOutline": true,
"label": "New Address",
"type": "group",
"layout": {
"row": "Row_0gkbr3n",
"columns": null
},
"id": "Field_06agj3r"
},
{
"components": [
{
"subtype": "date",
"dateLabel": "Effective Date",
"label": "Date time",
"type": "datetime",
"layout": {
"row": "Row_0wb7dk5",
"columns": null
},
"id": "Field_16n63jc",
"key": "effectiveDate"
},
{
"values": [
{
"label": "Savings",
"value": "Savings"
},
{
"label": "Chequing",
"value": "Chequing"
},
{
"label": "Investments",
"value": "Investments"
}
],
"label": "Affected Accounts",
"type": "checklist",
"layout": {
"row": "Row_1dplh4n",
"columns": null
},
"id": "Field_0lctmyb",
"key": "affectedAccounts"
}
],
"showOutline": true,
"label": "Change Request Details",
"type": "group",
"layout": {
"row": "Row_1ts5tlu",
"columns": null
},
"id": "Field_0ye2nd3"
},
{
"label": "Notes",
"type": "textarea",
"layout": {
"row": "Row_1xh8m24",
"columns": null
},
"id": "Field_0bc1muh",
"key": "notes",
"properties": { }
}
],
"type": "default"
}