lib/floe/workflow/states/pass.rb in floe-0.9.0 vs lib/floe/workflow/states/pass.rb in floe-0.10.0
- old
+ new
@@ -22,16 +22,14 @@
@result_path = ReferencePath.new(payload.fetch("ResultPath", "$"))
validate_state!
end
- def start(input)
- super
-
- input = process_input(input)
-
+ def finish
+ input = process_input(context.input)
context.output = process_output(input, result)
context.next_state = end? ? nil : @next
+ super
end
def running?
false
end