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

Tiny fix for `ExecutionManager.execution_from_child_message`

parent 49d7f151
No related branches found
No related tags found
1 merge request!732Tiny fix for `ExecutionManager.execution_from_child_message`
Pipeline #4081 passed
......@@ -201,8 +201,9 @@ class ExecutionManager(ExecutionManagerIF):
if msg_subject.get("execution_wf_id"):
parent_wf_request_id = msg_subject.get("execution_wf_id")
elif message["argument"].get("parent_wf_request_id"):
parent_wf_request_id = message["argument"].get("parent_wf_request_id")
elif wf_arguments := message.get("argument"):
if wf_arguments.get("parent_wf_request_id"):
parent_wf_request_id = message["argument"].get("parent_wf_request_id")
if parent_wf_request_id:
# Workflow request has a parent_wf_request_id; use that as the request ID instead of the true ID
......
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