'Talend Use parameters in tmap expression

Is there a way to assign parameters (global/context) in the expression filter of a tmap in talend?

I know we can use the context.par_name in expression filter but my use case is: I have a tmap with one input table and output table. In the output table, the filter condition is defined row1.col-name == null.

What I will be getting here is a list of columns from the input table on which this check needs to be performed.

I tried using row1.context.col-name (column name is coming from parameters) but it is giving me error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source