Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11164

In Cockpit, incidents badge is misplaced

    XMLWordPrintable

Details

    Description

      Steps:

      • Deploy the attach process (CAM-11164.bpmn) or create a process with failing boundary event
      • Start the process and verify an incident is created on the boundary event
      • Navigate to Cockpit -> Process Instance View -> Runtime (See the attachment of 7.12 (observed) and 7.11 (expected))

      Expected:

      The incident badge is created for the boundary event

      Observed:

      The incident badge is created for the user task to which the boundary event belongs to

      Hint:

      The fetching of the incident number was changed in CAM-10959 (frontend) and CAM-10906 (backend).
      The performed query is:

       GET http://localhost:18080/camunda/api/engine/engine/default/process-instance/a33d2cf6-174c-11ea-9581-d0abd5c36f76/activity-instances

      {
      	"id": "a33d2cf6-174c-11ea-9581-d0abd5c36f76",
      	"parentActivityInstanceId": null,
      	"activityId": "failingTimer:1:a049b684-174c-11ea-9581-d0abd5c36f76",
      	"activityType": "processDefinition",
      	"processInstanceId": "a33d2cf6-174c-11ea-9581-d0abd5c36f76",
      	"processDefinitionId": "failingTimer:1:a049b684-174c-11ea-9581-d0abd5c36f76",
      	"childActivityInstances": [
      		{
      			"id": "Task_0a4ov5t:a33e1759-174c-11ea-9581-d0abd5c36f76",
      			"parentActivityInstanceId": "a33d2cf6-174c-11ea-9581-d0abd5c36f76",
      			"activityId": "Task_0a4ov5t",
      			"activityType": "userTask",
      			"processInstanceId": "a33d2cf6-174c-11ea-9581-d0abd5c36f76",
      			"processDefinitionId": "failingTimer:1:a049b684-174c-11ea-9581-d0abd5c36f76",
      			"childActivityInstances": [],
      			"childTransitionInstances": [],
      			"executionIds": [
      				"a33e1758-174c-11ea-9581-d0abd5c36f76"
      			],
      			"activityName": "Analyze report",
      			"incidentIds": [
      				"a9444c25-174c-11ea-9581-d0abd5c36f76",
      				"ac42e62c-174c-11ea-9581-d0abd5c36f76"
      			],
      			"name": "Analyze report"
      		}
      	],
      	"childTransitionInstances": [],
      	"executionIds": [
      		"a33d2cf6-174c-11ea-9581-d0abd5c36f76"
      	],
      	"activityName": null,
      	"incidentIds": [],
      	"name": null
      }
      

       

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              akif.hazarvi Akif
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce