Passing the expression as parameter

Hi Good day,

Would like to check how to specify an expression statement as a parameter in the mapper. I identified specifying the expression directly in the mapper which evaluates to the boolean value depending on the evaluation but the same can not be achieved if we pass the expression as a parameter. It gets read as a string, so could not achieve the exact result. Any idea how to achieve this case?

Sample Pipeline where expression is written directly in the mapper:

Head Snap Test_2023_05_22.slp (3.7 KB)

Sample Pipeline where expression is passed as a parameter:

Head Snap Test_2023_05_22 (1).slp (3.9 KB)


Try with eval() function, by which the expression from the parameter will be evaluated:

Spiro Taleski


Thanks so much