Question

Start End Processing time of Workbench

  • 18 August 2016
  • 3 replies
  • 2 views

Badge +11

I have a Workbench that process and uses htmlreportgenerator which is emailed to users. I would want to publish the start, end and processing time of the workbench. The reasoning is some users do not have access rights to FME SERVER.


3 replies

Userlevel 2
Badge +12

If the report is generated by the workspace, you will not be able to include the end time as the workspace has not yet ended at that point in time.

But FME Server stores the Job information in a database (default PostGres) and you can generate a report from the table in the database. That can include the workspace, start time and end time as read from the table.

Badge +16

another option is to get the start end time from fme server's rest API. This reruns all the information on a job the is visual on the server GUI

Badge +16

if the job ID is known you can use the following:

https://docs.safe.com/fme/html/FME_REST/v2/apidoc/index.html#!/transformations/get_get_7

You can also use the API to submit the job and once it is completed the job's information is returned:

https://docs.safe.com/fme/html/FME_REST/v2/apidoc/index.html#!/transformations/transact_post_4

Reply