I have a requirement in which I want my data to be processed using a header out of multiple headers based on a condition in the Impex file. Maybe, it can be done using BeanShell or impex.setCurrentHeader(String) but I don't know the current syntax to do it.
For example
If(condition evaluates to true) then INSERT_UPDATE Product;code[unique=true];.... else then INSERT_UPDATE VariantProduct;code[unique=true].........
Do let me know if it is possible.