Showing results for 
Search instead for 
Did you mean: 

Datahub Expression

Former Member
0 Kudos

Hello all,

i am trying out the expression transformation. I am trying to concat the text "Hello World" to another attribute during the composition process.

I am getting this error in the datahub

 2015-08-24 13:13:37,470 [ERROR] [c.h.d.c.i.AbstractCompositionRuleHandler] Error while evaluating reference or transformation getField(''HelloWorld'.concat(zCustomAttribute)')
 com.hybris.datahub.service.spel.TransformationExpressionException: Could not parse by expression getField(''HelloWorld'.concat(zCustomAttribute)')

What should be the correct way of defining this expression?

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

You may be just missing:

 <expression spel="true">...</expression>

Former Member
0 Kudos

Thank you.

You are right.

Answers (0)