save full_bpmn_json in a var

This commit is contained in:
jasquat 2023-03-01 09:55:20 -05:00
parent 25269133c1
commit e4d7b067bc
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -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: