Skip to main content
Best Answer

FMEWorkspaceRunner getpublishedParamNames bug

  • March 9, 2018
  • 1 reply
  • 25 views

Forum|alt.badge.img

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:

 

['a', 'b', 'privateparam']

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

Best answer by carsonlam

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

carsonlam
Safer
Forum|alt.badge.img+7
  • Safer
  • Best Answer
  • March 21, 2018

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.