Question

processing bar for calling time-consuming services

  • 31 May 2016
  • 1 reply
  • 1 view

Badge

HI all, I want to add a processing bar on my application for time-consuming services so users know the process is still running. I am using FMEServer.runDataDownload(this._repository, this._workspaceNames[2], params, this._displayResult)); How to implement this?


1 reply

Badge +11

Hi @wgsl2005, you might consider leveraging the FME Server REST API to help you out...

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

For example, if you are able to retrieve the Job ID when submitted, use the above REST API endpoint in a loop to poll the status returned by the API.

Let us know if you (or anyone else reading this) has implemented this in a different way!

Reply