-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: backend
-
Not defined
- The endpoint for retrieving the process goals returns the saved goals
- The endpoint also return the evaluation result of each goal as shown below
- Users only see the processes that they are authorized to see
Example response:
[
{
"processDefinitionKey" : "process-key",
"processName" : "Process name",
"owner": null,
durationGoals: {
goals: [
{type: 'targetDuration', percentile: '75' , value: '5', unit: 'days' }
{type: 'slaDuration', percentile: '99' , value: '8', unit: 'days' }
],
result: [
{type: 'targetDuration', value: '43243242342', successful: true}, // The actual duration is returned in millisecond format
{type: 'slaDuration', value: '213123123', successful: false}
]
}
},
...
]