lib/ruote/exp/fe_concurrence.rb in ruote-2.1.10 vs lib/ruote/exp/fe_concurrence.rb in ruote-2.1.11

- old
+ new

@@ -97,18 +97,26 @@ # # makes sure that alpha's version of the workitem wins. # # === :merge_type # + # ==== :override + # # By default, the merge type is set to 'override', which means that the # 'winning' workitem's payload supplants all other workitems' payloads. # + # ==== :mix + # # Setting :merge_type to :mix, will actually attempt to merge field by field, # making sure that the field value of the winner(s) are used. # + # ==== :isolate + # # :isolate will rearrange the resulting workitem payload so that there is # a new field for each branch. The name of each field is the index of the # branch from '0' to ... + # + # ==== :stack # # :stack will stack the workitems coming back from the concurrence branches # in an array whose order is determined by the :merge attributes. The array # is placed in the 'stack' field of the resulting workitem. # Note that the :stack merge_type also creates a 'stack_attributes' field