Fixing sending the result of subworkflow
* This is why retry didn't work for subworkflow * Engine commands such as fail or succeed doesn't send the result of current workflow to parent workflow if needed. Closes-Bug: #1449298 Change-Id: Ia0d87160a51f53a686ca0451a2000298cec5a929
This commit is contained in:
@@ -23,8 +23,8 @@ from mistral.workflow import states
|
||||
from mistral.workflow import utils as wf_utils
|
||||
|
||||
|
||||
def succeed_workflow(wf_ex, final_context):
|
||||
set_execution_state(wf_ex, states.SUCCESS)
|
||||
def succeed_workflow(wf_ex, final_context, state_info=None):
|
||||
set_execution_state(wf_ex, states.SUCCESS, state_info)
|
||||
|
||||
wf_spec = spec_parser.get_workflow_spec(wf_ex.spec)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user