diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/tasks_controller.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/tasks_controller.py index f10b5cb5..6a4b690c 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/tasks_controller.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/tasks_controller.py @@ -544,7 +544,9 @@ def task_show( else: task_model.form_ui_schema = {} _munge_form_ui_schema_based_on_hidden_fields_in_task_data(task_model.form_ui_schema, task_model.data) - JinjaService.render_instructions_for_end_user(task_model, extensions) + + # it should be safe to add instructions to the task spec here since we are never commiting it back to the db + extensions["instructionsForEndUser"] = JinjaService.render_instructions_for_end_user(task_model, extensions) task_model.extensions = extensions