Hello
I have a table with products that should belong to a main-category and sub-category. However, there are some products that don't have a sub-category. In this case the set should receive the content of the main-category in the field of the sub-category. I tried it with a java expression (that didn't work). See my attached transformation.
1. Is there a way without java expression to solve this?
2. If not, how does my expression have to look like?
3. I wonder if the whole transformation could be achieved with less steps? Do you see steps right away that you would change by others? I am curious and want to learn.
Many thanks!
zioso
I have a table with products that should belong to a main-category and sub-category. However, there are some products that don't have a sub-category. In this case the set should receive the content of the main-category in the field of the sub-category. I tried it with a java expression (that didn't work). See my attached transformation.
1. Is there a way without java expression to solve this?
2. If not, how does my expression have to look like?
3. I wonder if the whole transformation could be achieved with less steps? Do you see steps right away that you would change by others? I am curious and want to learn.
Many thanks!
zioso