FME(R) 2023.1.1.0 (20230928 - Build 23631 - WIN64)
I have a simple scripted parameter script in workbench to return the value of a deployment parameter and I’m wondering if there’s a bug in the interface. When I drag a user parameter onto the script canvas the code generated contains FME_MacroValues, eg.
FME_MacroValuesa'SomeUserParam']
If I drag a deployment parameter, dpTest, onto the script canvas the code generated looks like
$(dpTest)
Here’s the script. The commented code fails; if I manually correct $(dpTest) to FME_MacroValuesa'dpTest'], it runs:
# Get the archive folder from deployment param
import fme
#arch = $(dpTest)
#return arch
return FME_MacroValuesM'dpTest']
Is this a bug? Thanks.