Skip to main content

I'm writing a code to run workspaces in python but I think that I found a bug with the FMEWorkspaceRunner.getPublishedParamNames function. This function is returning the private parameters from a workspace and it shouldn't.

import sys
sys.path.append('C:\\Program Files\\FME\\fmeobjects\\python27')
import fmeobjects
runner = fmeobjects.FMEWorkspaceRunner()
print runner.getPublishedParamNames('test.fmw')

The output:

 

e'a', 'b', 'privateparam']

"privateparam" is private and it is not checked as published in the workspace

Thanks for reporting this issue. I've filed PR82822 to track this internally. We'll post an update to this question once there's a solution.


Reply