set permissions does not run without this

This commit is contained in:
burnettk 2023-03-10 17:58:31 -05:00
parent 3415caa969
commit fede07321b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class TaskModelSavingDelegate(EngineStepDelegate):
def after_engine_steps(self, bpmn_process_instance: BpmnWorkflow) -> None:
for waiting_spiff_task in bpmn_process_instance.get_tasks(
TaskState.WAITING | TaskState.CANCELLED
TaskState.WAITING | TaskState.CANCELLED | TaskState.READY
):
task_model = TaskModel.query.filter_by(
guid=str(waiting_spiff_task.id)