From 6257a402db9f32c944adad182927aba9d3ca7921 Mon Sep 17 00:00:00 2001 From: jasquat Date: Wed, 1 Mar 2023 09:55:20 -0500 Subject: [PATCH] save full_bpmn_json in a var --- .../services/process_instance_processor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py index ea6e9b00e..f3d31f9e4 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -573,9 +573,10 @@ class ProcessInstanceProcessor: spiff_logger.setLevel(logging.WARNING) try: + full_bpmn_json = ProcessInstanceProcessor.get_full_bpmn_json(process_instance_model) bpmn_process_instance = ( ProcessInstanceProcessor._serializer.deserialize_json( - json.dumps(ProcessInstanceProcessor.get_full_bpmn_json(process_instance_model)) + json.dumps(full_bpmn_json) ) ) except Exception as err: