mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-30 03:35:31 +00:00
Balance lock with unlock (#169)
This commit is contained in:
parent
157e0004bd
commit
abc2e5aac8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user