Question

Update job status message

  • 16 April 2019
  • 1 reply
  • 9 views

Badge

I'm running some jobs on the server than can take quite long. I use the REST api to get the status of the job, e.g. aborted, queued, in process, success...

I also noticed a statusMessage field (e.g. "Translation was successful"). Can this be updated while running the script to provide more information for users?


1 reply

Userlevel 4

As far as I know that isn't possible using the regular REST API. You'll have to invent some sort of work-around for that, e.g. by letting your workspace write the status in a file in the resources folder and use the API to retrieve it. I'm sure there are other ways.

Reply