load all task data when attempting to get the next task instruction w/ burnettk (#1355)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2024-04-08 14:40:52 +00:00 committed by GitHub
parent 5dacd23a2d
commit f6943cf059
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ def process_instance_progress(
def task_with_instruction(process_instance_id: int) -> Response:
process_instance = _find_process_instance_by_id_or_raise(process_instance_id)
processor = ProcessInstanceProcessor(process_instance)
processor = ProcessInstanceProcessor(process_instance, include_task_data_for_completed_tasks=True)
spiff_task = processor.next_task()
task = None
if spiff_task is not None: