-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
1.8.2
Description of problem:
Customers want to reference current form values inside fetch:response:label and fetch:response:value selectors (JSONata),
e.g. observers ? observers : [$${\{current.appRegistration.observers}}].
Today selectors are evaluated only against the fetch response payload, so form data isn’t available.
Proposal: evaluate selectors against a combined context, e.g.
{ response: fetchResponse, current: formData }, and document the supported paths.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
# <steps>
Actual results:
Selectors only see the fetch response; form data references are not available.
Expected results:
Selectors can access both response and form data, enabling expressions like:
"fetch:response:label": "response.observers ? response.observers : [current.appRegistration.observers]"