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