Closed agrare closed 2 months ago
I will put together a test with a combination of result, input path, result path, output path.
see how the values go.
I'm wondering if I screwed up and the input path IS processed for the output
Also noticed that Success has input/output path and we do not handle.
Note: Merge #214 before merging this
Clarifying question - In the OP I see
"output": "\"red\"",
but then the comment right after said
We should be getting "red" as the output, but currently we return the entire input payload:
I think this is supposed to be that we should be getting \"red\"
as the output (with the quotations), as that's valid JSON. This overlaps with my concerns in https://github.com/ManageIQ/floe/pull/222#issuecomment-2182948069 as well.
Introduced by https://github.com/ManageIQ/floe/pull/191/files#diff-04416988853398624310337389715edeb1fed6c963a0a2a41ef882df8166dd6e
We're missing proper input processing for the Pass state if there is no Result attribute:
We should be getting
"red"
as the output, but currently we return the entire input payload: