I have a directory watch on a network folder and I can successfully trigger the subscription by adding a file to that folder. I can see that the workspace is triggered as well. However, what I'm still trying to figure out is how to pass the path and file name of the zip file placed in it to the workspace.
What would the input parameter need to be set as in the workspace? Currently I have it set to a published user parameter with no default value.
In the subscription configuration, the "Source Zip File" parameter is set to "Get Value from Topic Message". However, that parameter evaluations to the path of the JSON file created with the topic is published to, not the zip file path. From the log:
FME Configuration: Command line arguments are `fme' `Test\\LaTaxTableImportForDirectoryWatcherWBR\\LaTaxTableImportForDirectoryWatcherWBR.fmw' `--SourceZip' `$(FME_SHAREDRESOURCE_SYSTEM)temp/subscriptions/c2177f37ebd94805bd9717d51d228e46.json' `--FME_TOPIC_MESSAGE' `$(FME_SHAREDRESOURCE_SYSTEM)temp/subscriptions/c2177f37ebd94805bd9717d51d228e46.json' `--FME_SECURITY_USER' `Lance' `--FME_MF_NAME' `LaTaxTableImportForDirectoryWatcherWBR.fmw' `--FME_SERVER_HOST' `localhost' `--FME_SERVER_PORT' `7071' `--FME_TOPIC' `WBR_Conversion_Tool'
What am I doing wrong?