AnsweredAssumed Answered

How to get a task completed only with the status?

Question asked by kolmogorov.dikma on Feb 1, 2013
Latest reply on Feb 1, 2013 by frederikheremans1
HistoricTaskInstanceQuery class has a method finished(). Earlier, before the correction 'Copying due-date in HistoricTaskInstance at create-time ' (commit 7f5ca8f ) this method returns the status of the task only "completed", all things (completed, deleted etc.). How to get a task completed only with the status? In my opinion, it would be convenient to have the following methods:

    finished() - (SQL  "end_time_  is not null")
    unfinished() - (SQL "end_time_  is null")
    taskStatus(String value) - (SQL "delete_reason_ = value")
Activiti version 5.12 Snapshot

Outcomes