MultiValueConditionalMap Configuration #3106
-
|
The documentation for MultiValueConditionalMap is confusing: https://devopsmigration.io/docs/reference/field-maps/multi-value-conditional-map/ The documentation shows a schema that contains sourceFIeldsAndValues and targetFieldsAndValues but all the examples show a conditions field in the JSON. Schema: Example: What I need is the conditional logic. I need to map a boolean field only if another field has some text in it. But using that alone yields a warning of: Looking at the code it appears that conditions field doesn't seem to exist or be used any longer. So I'm guessing that functionality has been removed in the actual code. Is there any way to accomplish what I'm trying to do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I think I understand how it works from reading through the code found a solution to my issue where I just inverted what I was doing. I set the value to true for everything and then use the MultiValueConditionalMap to set it to false only if the source field is empty. |
Beta Was this translation helpful? Give feedback.
I think I understand how it works from reading through the code found a solution to my issue where I just inverted what I was doing. I set the value to true for everything and then use the MultiValueConditionalMap to set it to false only if the source field is empty.