Skip to content
Snippets Groups Projects
Commit daab66f5 authored by Nathan Hertz's avatar Nathan Hertz
Browse files

CapabilityService: Added check for no-op workflow event in update_execution

parent f179f9d3
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,11 @@ class CapabilityService(CapabilityServiceIF):
TODO: Implement execution cancellation
"""
capability_event = self.workflow_to_capability_event(event)
if not capability_event:
# WorkflowEvent does not need to update the execution
return
execution = self.capability_info.lookup_execution(capability_event.execution_id)
step_sequence = CapabilitySequence.from_str(execution.steps)
current_step = step_sequence[execution.current_step]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment