-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
Task Description:
At the moment the raw data report does not count the amount of time an instance spent on a flowNode. For the purpose of enriching the raw data report with data which is meaningful for machine learning, we can need to add an array which will add on the response of the api/report/evaluate endpoint info on the amount of time an instance spent on a flowNode. The response of the endpoint contains a json key called result, which should now include the following information:
"result" : { "instanceCount" : 3722, "instanceCountWithoutFilters" : 3722, "totalAmountOfOpenIncidents" : someValue "measures" : [ { "property" : "rawData", "aggregationType" : null, "userTaskDurationTime" : null, "data" : [ { "processDefinitionKey" : "AnalysisTestingProcess", "processDefinitionId" : "AnalysisTestingProcess:17:a5cffc6c-754f-11ec-90b6-e6a9f32a3df3", "flowNodeDurations": { "flowNodeId1": {name: 'flowNode1 Name', value: '312312312'}, "flowNodeId2": {name: 'flowNode2 Name', value: '312312312'}, .... }, "processInstanceId" : "1330eeb0-7550-11ec-90b6-e6a9f32a3df3", "businessKey" : "correlationValue_3211", "startDate" : "2020-01-03T02:01:00.000+0000", "endDate" : null, "duration" : 83832241425, "engineName" : "camunda-bpm", "tenantId" : null, "variables" : { "anotherEndEvent" : "0.0036441698813491907", "boolVar" : "false", "correlatingVariable" : "correlationValue_3211", "dateList" : "2003-01-14T16:38:52.144+0100, 2028-01-14T16:38:52.144+0100", "dateList._listSize" : "2", "dateVar" : "1970-01-16T00:26:09.415+0000", "delay" : "false", "doubleVar" : "1.7518147474113708E308", "freightOrdered" : "0.74926304786165", "integerVar" : "866878248", "isTransferShipment" : "0.5124754875483395", "longVar" : "2282987773707827479", "numberList" : "97.0, -82.0, 91.0", "numberList._listSize" : "3", "person" : "<<OBJECT_VARIABLE_VALUE>>", "person.age" : "33.0", "person.favouriteDay" : "1951-01-14T16:38:52.144+0100", "person.hobbies" : "Armwrestling, Ferret racing", "person.hobbies._listSize" : "2", "person.name" : "Kyrylo", "person.skills.read" : "false", "person.skills.write" : "true", "shortVar" : "-14276", "stringVar" : "aStringValue" } }
ATs:
- The api/report/evaluate endpoint response has changed so that the flowNodeDurations array is included as part of the result attribute
- The have been ITs developed to verify this behaviour
- The REST API docs have been updated
This is the controller panel for Smart Panels app
- is depended on by
-
OPT-6425 Add the total duration of each flow node of type "task" to the raw data table
- Done