How to get Process instance and Tasks metrics for SLA handling

We want to define SLAs for processes and tasks, get the metrics and alert to users in case of exceeding those levels
¿How can we achieve this? ¿Is there any way to automaticaly get the metrics about time taken to complete a process instance and/or a process task?

The start and end times are listed on historical process and task entities, you can use the HistoryService to query for the tasks. If you want something a bit more complex, you can use a message based asynchronous history setup to store a copy of the history in a place where it is easier to run aggregates like ElasticSearch. You might even want to use something like Kafka’s time windowed queries

1 Like