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:
parent
5dacd23a2d
commit
f6943cf059
|
@ -469,7 +469,7 @@ def process_instance_progress(
|
||||||
|
|
||||||
def task_with_instruction(process_instance_id: int) -> Response:
|
def task_with_instruction(process_instance_id: int) -> Response:
|
||||||
process_instance = _find_process_instance_by_id_or_raise(process_instance_id)
|
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()
|
spiff_task = processor.next_task()
|
||||||
task = None
|
task = None
|
||||||
if spiff_task is not None:
|
if spiff_task is not None:
|
||||||
|
|
Loading…
Reference in New Issue