The workflow variable is potentially unused (not defined in workflow): "filename" (STRING)

Trying to call application in batch mode and pass the filename to process.   I've setup my application to define a workflow variable using the "String Input" in the Quick Forms.

I run it and it doesn't take the variable I pass and I recieve the following error.

The workflow variable is potentially unused (not defined in workflow): "filename" (STRING)

Here is the command line I'm running.

/Applications/KNIME/Contents/MacOS/knime -nosplash -nosave \
	-application org.knime.product.KNIME_BATCH_APPLICATION \
	-workflow.variable=filename,/Users/edmckee/Downloads/knime.csv,String \
	-workflowDir=/Users/edmckee/Development/nodeProjects/redi_services/redi

 

Looks like the workflow variable you are trying to override via the command line parameter is defined by a node (Quick Forms) and not for the workflow itself.

To my knowledge only workflow variables defined via the Workflow Variable Administrator can be overidden by the command line of the Batch Executor.

Give it a try and see whether the error disappears.

Cheers,
Marco.

That worked.  I'm new to this so much appreciated!