Determine process progression

Hi,

does the api provide a possibility to determine something like a process progression?
For example to tell the user: 4 / 10 tasks are done (assuming the longest possible path)

Thanks in advance

HI Vadim,

There is no such API. It is certainly possible to build this with HistoryService#createHistoricActivityInstanceQuery and the BPMN model, but it is probably not a low-hanging fruit.

Cheers,
Thorben

Hi Thorben,

thanks for the fast reply. Thats what i was expecting but wanted to be sure :slight_smile:

@Vadim assuming you wanted to show a more “true” count of remaining tasks you could update a variable on User Task Completion (task listener) that is the calculation of potentially remaining tasks and then query for the variable value.