mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-14 03:24:40 +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 = ProcessInstanceProcessor(process_instance)
|
||||||
processor.lock_process_instance("Web")
|
|
||||||
|
|
||||||
if do_engine_steps:
|
if do_engine_steps:
|
||||||
try:
|
try:
|
||||||
|
processor.lock_process_instance("Web")
|
||||||
processor.do_engine_steps(save=True)
|
processor.do_engine_steps(save=True)
|
||||||
except ApiError as e:
|
except ApiError as e:
|
||||||
ErrorHandlingService().handle_error(processor, e)
|
ErrorHandlingService().handle_error(processor, e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user