Skip to main content
Question

concatenated parameters in python shutdown script not fully resolving

  • June 5, 2015
  • 3 replies
  • 13 views

jdh
Contributor
Forum|alt.badge.img+40
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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

takashi
Celebrity
  • 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+40
  • Author
  • Contributor
  • June 8, 2015
Hi Takashi, That workaround did the trick. Thank you.