cancel
Showing results for 
Search instead for 
Did you mean: 

Match Expression stored in a Variable

TLOY_TGA
New Contributor

I have a Pipeline using in different branches the same Mapper for one of the Field
See ScreenShot
image

I would like to use a Pipeline Variable in my Mapping Expression in order to update/maintain only once my expression

my ORGANISATION Mapping expression looks like this

{match $ORGANISATION {
“H10” => “CC_0001”,
“H11” => “CC_0004”,
“H12” => “CC_0004”,
“H1000” => “CC_0001”,
“H1100” => “CC_0002”,

“” => “CC_ERROR”,
_ => $ORGANISATION}}

How is this possible?

Thank you for your answer

6 REPLIES 6

Thanks for the example Del - I was thinking of this differently. Agree that eval would work - but performance would be seriously impacted.

TLOY_TGA
New Contributor

Thank you guys, I will make a test in the coming week and let you know