KumologicaHQ / kumologica-support

3 stars 0 forks source link

Data Mapper : No Match Found #6

Closed sharmmoh1983 closed 3 years ago

sharmmoh1983 commented 3 years ago

While using data mapper ,if transformation logic is resulting into no output , payload gets lost for next node . There should be some default payload available for the subsequent nodes

ab73863 commented 3 years ago

The implementation for this is actually expected to raise an exception in case of "no match" instead of allowing the flow to progress with the payload with which it was working.

Proposing: Implementing the feature of raising error when no match found.

ab73863 commented 3 years ago

Correction on the proposal :

Incase of JSONAta expression resolved as empty.

msg.payload = {}

ab73863 commented 3 years ago

Fixed. Will be available on 2.1.1 release.