Skip to main content
Question

concatenated parameters in python shutdown script not fully resolving


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
I have a couple of published parameters param1, and param2 and a private param (param3) which is concatenated from the published parameter :  $(param1)-$(param2)

 

 

if param1 is A

 

and param2 is B

 

I'm expecting param3 to be A-B

 

 

instead, in the python shutdown script

 

fme.macroValues['param3'] returns A-$(param2)

 

 

any ideas on how to get it to fully resolved.

3 replies

takashi
Evangelist
  • June 6, 2015
Hi,

 

 

I'm not sure the reason that such unexpected result occurs, but this code could be used as a workaround for the interim.

 

-----

 

value = '$(param3)'

 

-----

 

Tested with FME 2015.1.0.2.

 

 

Takashi

david_r
Celebrity
  • June 8, 2015
Hi

 

 

can you show us the exact content (Python code) for the "param3" scripted parameter? Maybe screen capture?

 

 

David

jdh
Contributor
Forum|alt.badge.img+28
  • Author
  • Contributor
  • June 8, 2015
Hi Takashi, That workaround did the trick. Thank you.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings