Don't try to complete a ready task to move the process instance diagram to the next yellow. (#136)

This commit is contained in:
jbirddog 2023-02-13 18:52:06 -05:00 committed by GitHub
parent 4e27d5c6e7
commit 2eab56525a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ def process_instance_task_list(
spiff_task = processor.__class__.get_task_by_bpmn_identifier(
step_details[-1].bpmn_task_identifier, processor.bpmn_process_instance
)
if spiff_task is not None:
if spiff_task is not None and spiff_task.state != TaskState.READY:
spiff_task.complete()
spiff_tasks = None