runabol / piper

piper - a distributed workflow engine
Apache License 2.0
489 stars 87 forks source link

Fork/Join results not returning #31

Closed krh5150 closed 4 years ago

krh5150 commented 5 years ago

Hi Arik,

            I’m trying to retrieve (join) the two branches back together after they have forked and run.  How can I accomplish that and retrieve the results from each branch in the fork after the join?

            I attempted to do the same with using type “parallel”, but no luck.  I want to be able to merge the branches back, that way I can go to task named “checkAdapterResults” and pull in adapter1 and adapter2 results in the checkAdapterResults handler.

            I’m getting the error “2019-02-13 15:24:45.778 DEBUG 9396 --- [enerContainer-1] c.c.piper.core.task.SpelTaskEvaluator    : EL1008E: Property or field 'adapter1' cannot be found on object of type 'com.creactiviti.piper.core.context.MapContext' - maybe not public or not valid?”

And the same error for “adapter2”.

Thank you , Kevin

ccamel commented 5 years ago

@krh5150 Yes that's right. The task fork executes the different branches in an isolated context, and no result is expected.

runabol commented 4 years ago

closing due to inactivity