Skip to main content

Is there any option how to set multiple condition for visibility of user parameter? I need some parameters to be available for two choices of another parameter. I could define another connection parameter but i have to use it in same readers and writers of workspace.

- is there a chance for some workaround?
I can’t merge these two choices, because there another flow for each one of these two.
I know thers new feature in FME 2025, but we recently upgraded to last major 2024 version. Probably we’ll be waiting for another release of 2025.

This is possible in FME 2025.0, where they call it a Compound Condition.

For more information see this video: 

 


This is possible in FME 2025.0, where they call it a Compound Condition.

For more information see this video: 

 

Hi, Im aware of this new feature. But theres no chance of upgrading any soon. I was looking for some proofed workaround for FME 2024 and earlier.


I have tried also a workarounf with scripted parameter that’s based on the first one:
 

import fme

if fme.macroValuesu'CUSTOMER'] == 'AGIS':
return 'AGIS'
elif fme.macroValuesu'CUSTOMER'] == 'RSD':
return 'RSD'
else:
return 'IPR'

But the conditional visible parameters are not reacting, i.e. appearing depending on the scripted one. 


Reply