lib/floe/workflow/states/choice.rb in floe-0.13.1 vs lib/floe/workflow/states/choice.rb in floe-0.14.0

- old
+ new

@@ -21,9 +21,10 @@ def finish(context) input = input_path.value(context, context.input) output = output_path.value(context, input) next_state = choices.detect { |choice| choice.true?(context, output) }&.next || default + runtime_field_error!("Default", nil, "not defined and no match found", :floe_error => "States.NoChoiceMatched") if next_state.nil? context.next_state = next_state context.output = output super end