Skip to main content
Question

FME Bug passing wrong parameters to fme workspace runner

  • June 30, 2017
  • 9 replies
  • 37 views

Forum|alt.badge.img

In my workflow I have a main process which executes other workspace runners and passes published parameters of the main process to the workspace runners. One of these parameters is a text separated by comma (student_list) and when it is passed to the workspace runner is not getting interpreted as a text, but as multiple parameters.

This is the main workflow: 

When Student_List is passed to the workspace:

StudentElegibilityProcess: {C:/Program Files/FME/fme} G:/Git/compass-fme/student-eligibility/student-eligibility.fmw --ScenarioGuid *** --OrgGuid *** --DbServer *** --DbName *** --DbUserName ** --DbPassword *** --AuditFile {G:\Git\compass-fme\student-eligibility//audit_eligibility.json} --ALLOWS_OUT_OF_BOUNDARY_TRANSPORTATION true --SOLVE_CLOSEST_FACILITY_BATCH_SIZE 100 --STUDENT_LIST 000157141 --000170660 000171155 --ZonesUrl http://*** --HazardZonesUrl http://**r 2>@1
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.

9 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • June 30, 2017

Have you tried embedding the student list in double quotes: "00157141, 00170660, 00171155" ?


Forum|alt.badge.img
  • Author
  • June 30, 2017

Have you tried embedding the student list in double quotes: "00157141, 00170660, 00171155" ?

yes, it doesn't work

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • June 30, 2017
yes, it doesn't work
Then submit this to support@safe.com as it seems to be not the right way to handle these parameters.

 

 


david_r
Celebrity
  • June 30, 2017

This is a known bug, you can work around it be re-defining the published parameter in the child workspace from "Text" to "Text (multiline)". That should let you pass comma-separated values.


Forum|alt.badge.img
  • Author
  • June 30, 2017

This is a known bug, you can work around it be re-defining the published parameter in the child workspace from "Text" to "Text (multiline)". That should let you pass comma-separated values.

It's doing the same even with Text (multiline)

 

 


david_r
Celebrity
  • July 3, 2017
It's doing the same even with Text (multiline)

 

 

Which version of FME are you using?

david_r
Celebrity
  • July 3, 2017

Forum|alt.badge.img
  • Author
  • July 4, 2017
Which version of FME are you using?
2017.0.1.1 Build 17291 win64

 

 


rylanatsafe
Safer
Forum|alt.badge.img+14

Hi @rrdlpl, I'm sorry for the inconvenience experienced here!

I tested in 2017.0 Build 17291 and I was able to reproduce this behaviour. However, when testing with 2017.1 Build 17521 the values were passed through as expected without issue.

I haven't identified the specific fix that changed this behaviour, but I encourage you to test with the latest FME 2017.1 Beta to ensure your workflow operates as expected in the newer version.

safe.com/beta

 

 

Additional thanks to @david_r and @erik_jan for their support here! :)