Difference between 'active()' and 'unfinished()'


the camunda API for querying historical process instances has the methods active() and unfinished(). Can someone please tell what’s the difference between the two?

Which one should I use if I want to find instances that are still running?

Thank you!

Hi @fml2

active() means not suspended instances.

unfinished() means not finished yet.

Notice: If suspended instances are supposed to be involved in the returned result then use only unfinished().


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.