Question

FME Server Parameters are all None in a scripted parameter, but have values in other places

  • 20 October 2022
  • 3 replies
  • 3 views

Badge +1

Hi,

I'm trying to create a scripted parameter to concatenate some of the FME Server Parameters, but all the FME Server Parameters come back as "None" in my scripted parameter, even though I've explicitly set them in FME Workbench.

imageThis is on MacOS FME Desktop 2022.1.2.0 (build 22627).

 

I've tried using fme.macroValue, same result. I can use other user parameters in a scripted parameter. Is it not possible to use server parameters inside scripted parameters?


3 replies

Userlevel 4
Badge +26

Have you tested this on FME Server? or only desktop

Userlevel 4
Badge +26

Have you tested this on FME Server? or only desktop

I ask because I often use FME_JOB_ID in a scripted parameter to determine if a worksapce is running on desktop or FME Server. So it definitely works on FME Server. (at least it does in FME Server 2020)

 

I can see how this would make it annoying to test...

Userlevel 4
Badge +26

a similar issue:

https://community.safe.com/s/question/0D54Q000099Mc0NSAS/can-you-use-fme-server-parameters-within-scripted-parameters

Reply