Question

user parameter optional

  • 8 October 2015
  • 2 replies
  • 9 views

Hello,

 

 

I have a bunch of shapefiles as inputs but i'm not using them all everytime, so i put them as Optional in the User Parameter.

But i get this message : "Shape Reader: Failed to open dataset 'T:\\Test\\\\SHP\\test.shp' which is neither an existing file nor directory" when i run my script using a python script.

Eventhough the shapefile doesn't exist, since it's set as optional, FME should ignore it, no ?

 

How can I make it work please ?

2 replies

Badge +2
Try setting "Ignore failed readers" to "Yes" in the Navigator under Workspace parameters -> Advanced.
Awesome ! I didn't about this parameter !

 

Thanks a lot !

Reply