Skip to main content
Question

FMEServerJobSubmitter - is it possible to pass attributes or variable values from child back to parent?

  • April 17, 2018
  • 3 replies
  • 34 views

I have a Workbench file that invokes other Workbench files (using FMEServerJobSubmitter). These called FMW's do all the work as far as reading and writing records is concerned. As a result the parent is shown to have read 0 and written 0 records. I would like to be able to pass the information on how many records are read and written by the child back to the parent and have those values appear as the number of records read and written. Is it possible to do this?

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.

3 replies

david_r
Celebrity
  • 8391 replies
  • April 17, 2018

Not really, unless you want to let the child store these values in an intermediary dataset which the parent then reads back later.

However, if you set the FMEServerJobSubmitter parameter Wait for jobs to complete = Yes, you can send the resulting attribute _numFeaturesOutput to a Cloner and then a NULL writer, which will get you some way.


tnarladni
Enthusiast
Forum|alt.badge.img+23
  • Enthusiast
  • 87 replies
  • October 17, 2018
please add this to the ideas page and I will upvote it! I like this idea as well

 

https://knowledge.safe.com/content/idea/post.html?space=153

 


richardatsafe
Safer
Forum|alt.badge.img+10
  • Safer
  • 217 replies
  • October 17, 2018

Another option would be to retrieve the child log with a REST API call, and parse the applicable information request.

https://docs.safe.com/fmerest/v3/transformations/jobs/id/42/log

https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html#!/transformations/logText_get_15