Determine amount/percentage of remaining tasks

Hello,

I have a question that isn't really specific to Bonita, more just a BPMN/process, but I figured it would be a worth a shot to ask in this forum. Is there any standard or strategies for determining the amount of possible work left to do in a given process? I'm not looking for an API call, just the idea/philosophy. In a sequential process, determining number of remaining tasks trivial, but I may have a very complex process with many sub-processes that can restart, loop, etc., which makes this problem very complicated. I think the answer may have to be process specific but any ideas or input is welcomed.

Hi rtumminelli_1394599,

it's quite complicated to imagine how many tasks may remains in a "happy path" process flow.

You mention sub processes, but even a simple gateway with a decision table that involves business data from task contract is already a challenge, since it lead you to different paths like a manager validation on not, based on a contract amount for example.

The only advise I could give you is just to categorize process path in a set of "potential paths", squeezing exotic paths and then just count human task. Then a potential API extension can give you several options based on current task/process status

As you mention, this is a process specific based on your design, and I agree this is not "perfect solution" you can reuse across all your process definitions.

regards,

Laurent