Skip to main content
Question

Why user parameter value is not setting when i call fmw file from bat file?

  • July 10, 2024
  • 2 replies
  • 63 views

saravanakumar
Supporter
Forum|alt.badge.img+6

Hi All, 

I am trying to call a fmw file using bat file which will run on fme quick translator. Here for a testing i created a fmw file with “path” reader and changing the input value as user parameter which i newly added in workbench. I created a testing bat file to call that fmw file but i am facing “Undefined environment variable”. 

 I referred old case regarding and changed into ${variable} format but no change yet I’m facing the same. 
I attached workbench file and bat for your reference.
I am using FME Desktop 2020.1.1.1 32bit version

 

2 replies

saravanakumar
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • July 10, 2024

Hello all, 
 

Found the issue that due to my bat file have unwanted spaces between every Assigning. After remove unwanted space my bat file working fine. 

Sorry to post for a Silly mistake !

Thanks


hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • July 10, 2024

Hello all, 
 

Found the issue that due to my bat file have unwanted spaces between every Assigning. After remove unwanted space my bat file working fine. 

Sorry to post for a Silly mistake !

Thanks



No such thing as a silly mistake! Take credit in knowing that one day some will have the same issue and find the solution here :)