Skip to main content

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?

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.


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

 


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


Reply