Even if I just use data2 as only pattern it also puts the value in data.
So it looks to me that “pattern” does not do anything, it just moves to the next node:
Yea i’ve ran into this problem aswell, and after my findings it seems like there is 2 different node transformers, one of them (The one you used) seems to work different than the other one. maybe someone can answer us what the difference is since i found this strange aswell.
I found this solution to work, start with the “Execute entity transformer” transformer and find “Node, transform nodes” inside, this one will do what you want.
The pattern does not go nodes deeper then the first pattern level. Adding pattern levels like pattern.pattern2.* do not work.
Edit: This problem also only seems to occur in the data transformer version.
Hi @Rickvzanden, we don’t think we will fix the issue with the “Node Transformer” under the “Data, transform data using mappers and conditions”. We will check with the team on what will we do with the transformer in the future.
We would suggest using the nested “Execute entity transformers” → “Node, transform nodes” for your current and future integrations, as @mko suggested.
I am already using the Entity Node Transformer in my new and future projects so thats all good. Just was curious about these database transformer version and this old post