undo much of our performance improvement, though hopefully using children will be more precise
This commit is contained in:
parent
fede07321b
commit
9f291d4fc3
|
@ -42,7 +42,6 @@ desktop3.sme@status.im,196
|
|||
desktop4.sme@status.im,197
|
||||
desktop5.sme@status.im,198
|
||||
fin@status.im,118
|
||||
finance.lead@status.im,128
|
||||
finance_user1@status.im
|
||||
fluffy.project-lead@status.im,162
|
||||
harmeet@status.im,109
|
||||
|
|
|
@ -95,8 +95,13 @@ class TaskModelSavingDelegate(EngineStepDelegate):
|
|||
db.session.commit()
|
||||
|
||||
def after_engine_steps(self, bpmn_process_instance: BpmnWorkflow) -> None:
|
||||
# excludes FUTURE and COMPLETED. the others were required to get PP1 to go to completion.
|
||||
for waiting_spiff_task in bpmn_process_instance.get_tasks(
|
||||
TaskState.WAITING | TaskState.CANCELLED | TaskState.READY
|
||||
TaskState.WAITING
|
||||
| TaskState.CANCELLED
|
||||
| TaskState.READY
|
||||
| TaskState.MAYBE
|
||||
| TaskState.LIKELY
|
||||
):
|
||||
task_model = TaskModel.query.filter_by(
|
||||
guid=str(waiting_spiff_task.id)
|
||||
|
|
Loading…
Reference in New Issue