Squashed 'SpiffWorkflow/' changes from d27519a36..3579c477e
3579c477e use last task data instead of subworkflow data on subworkflow complete git-subtree-dir: SpiffWorkflow git-subtree-split: 3579c477eaf19a982a2822609fcf20b56c050eb5
This commit is contained in:
parent
742f549e98
commit
7184b165bb
|
@ -46,7 +46,7 @@ class SubWorkflowTask(BpmnSpecMixin):
|
|||
|
||||
if len(subworkflow.spec.data_outputs) == 0:
|
||||
# Copy all workflow data if no outputs are specified
|
||||
my_task.data = deepcopy(subworkflow.data)
|
||||
my_task.data = deepcopy(subworkflow.last_task.data)
|
||||
else:
|
||||
end = subworkflow.get_tasks_from_spec_name('End', workflow=subworkflow)
|
||||
# Otherwise only copy data with the specified names
|
||||
|
|
Loading…
Reference in New Issue