project-flogo / flow

Flow is a flow-based process engine implementation for processing event-driven requests.
BSD 3-Clause "New" or "Revised" License
95 stars 38 forks source link

Add all return data into host outputs for subflow in case mixed data #159

Closed lixingwang closed 3 years ago

lixingwang commented 3 years ago

What kind of change does this PR introduce? (check one with "x")

[] Bugfix
[] Feature
[] Code style update (formatting, local variables)
[] Refactoring (no functional changes, no api changes)
[] Other... Please describe:

Fixes: #

What is the current behavior?

Old subflow returned data still in output as we just add key/value to the existing map. What is the new behavior? For each sub-flow output, we should clean up the last output and use only itself.