Duration on act_ru_execution

How does Flowable calculate the duration_ on act_ru_execution.

  1. Does it just calculate the difference between end_time & start_time?
  2. Does it stop when the process was suspended, and continue after it was resume?
  3. Is it possible to see if a process was previously suspended (Not sure if this needs a new Topic)

I assume you mean the HistoricProcessInstance (as the execution doesn’t have a duration)?

  1. Indeed
  2. No, the duration is from start to end
  3. No, once the process instance gets resumed the state is again reset to its original state.