Define accepted ProductType by variable

Hy,

is it possible to change the accepted ProductType in a TransportIn-Statement based on a Variable? I want to replace the switch with a oneliner… :wink:

Thx & Regards
Feature

No. Possibly you could make some hack with scripting, but that isn’t a better solution.

Hy,

and how you would solve situations like that where you don’t know the next need?

@TSy or another way around → How to get out a specific productType from a buffer with different productTypes in??

Regards
Feature