โ03-09-2021 04:57 AM
I have a Pipeline using in different branches the same Mapper for one of the Field
See ScreenShot
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
โ03-09-2021 05:28 AM
Hello @TLOY_TGA ,
If all of the marked Mappers are the same, you can use Pipeline Execute. That way you will maintain/update only one Mapper.
Best regards,
Bojan Velevski
โ03-09-2021 09:09 AM
There are a couple of options I can think of:
eval(_Parm_Expression)
)โ03-09-2021 09:29 AM
โ03-09-2021 10:00 AM
This is not a challengeโฆ just sharing an example ๐
Community.9634.slp (3.6 KB)
I believe an expression file arrow function is the right way to go
I agree completely.