Skip to main content
Question

processing bar for calling time-consuming services

  • May 31, 2016
  • 1 reply
  • 6 views

Forum|alt.badge.img

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

rylanatsafe
Safer
Forum|alt.badge.img+13

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings