Skip to main content
Question

Start End Processing time of Workbench

  • August 18, 2016
  • 3 replies
  • 37 views

hlouie
Contributor
Forum|alt.badge.img+16

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • August 18, 2016

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.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • August 18, 2016

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


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • August 18, 2016

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