Balance lock with unlock (#169)

This commit is contained in:
jbirddog 2023-03-09 08:03:18 -05:00 committed by GitHub
parent 157e0004bd
commit abc2e5aac8
1 changed files with 1 additions and 1 deletions

View File

@ -117,10 +117,10 @@ def process_instance_run(
)
processor = ProcessInstanceProcessor(process_instance)
processor.lock_process_instance("Web")
if do_engine_steps:
try:
processor.lock_process_instance("Web")
processor.do_engine_steps(save=True)
except ApiError as e:
ErrorHandlingService().handle_error(processor, e)