pyl w/ burnettk
This commit is contained in:
parent
968a2fb186
commit
5c1d106aa8
|
@ -31,7 +31,6 @@ from spiffworkflow_backend.services.process_caller_service import ProcessCallerS
|
||||||
from spiffworkflow_backend.services.process_instance_processor import (
|
from spiffworkflow_backend.services.process_instance_processor import (
|
||||||
ProcessInstanceProcessor,
|
ProcessInstanceProcessor,
|
||||||
)
|
)
|
||||||
from spiffworkflow_backend.services.process_instance_service import ProcessInstanceService
|
|
||||||
from spiffworkflow_backend.services.process_model_service import ProcessModelService
|
from spiffworkflow_backend.services.process_model_service import ProcessModelService
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -667,10 +667,7 @@ def send_bpmn_event(
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def _send_bpmn_event(
|
def _send_bpmn_event(process_instance: ProcessInstanceModel, body: dict) -> Response:
|
||||||
process_instance: ProcessInstanceModel,
|
|
||||||
body: dict
|
|
||||||
) -> Response:
|
|
||||||
processor = ProcessInstanceProcessor(process_instance)
|
processor = ProcessInstanceProcessor(process_instance)
|
||||||
processor.send_bpmn_event(body)
|
processor.send_bpmn_event(body)
|
||||||
task = ProcessInstanceService.spiff_task_to_api_task(processor, processor.next_task())
|
task = ProcessInstanceService.spiff_task_to_api_task(processor, processor.next_task())
|
||||||
|
|
Loading…
Reference in New Issue