Skip to main content
Solved

Most of our automations are started by a FME-Server Schedule-Trigger. I would like to make a list with all automations and their start-times. I can get a list of all automations with the REST API, but how could I get all the start-times? Thanks, Ve

  • April 27, 2023
  • 3 replies
  • 35 views

vki
Contributor
Forum|alt.badge.img+7
  • Contributor
  • 64 replies
Most of our automations are started by a FME-Server Schedule-Trigger. I would like to make a list with all automations and their start-times. I can get a list of all automations with the REST API, but how could I get all the start-times? Thanks, Vera

Best answer by sanaeatsafe

Hi @vki​ !

Instead of using the automation API endpoints, you might use the schedules endpoint: GET /schedules.

When the 'includeAutomations' parameter is set to true, the response will include all the automations that use a Schedule Trigger and their start times ('begin'). One thing to keep in mind is that the API token must have fmesuperuser role to apply 'includeAutomations'=true in this request. This security requirement is positioned to change the V4 API. You can inquire about the progress of this request with our internal tracking id, FMESERVER-19031. Hope that helps!

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

sanaeatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • 63 replies
  • Best Answer
  • May 2, 2023

Hi @vki​ !

Instead of using the automation API endpoints, you might use the schedules endpoint: GET /schedules.

When the 'includeAutomations' parameter is set to true, the response will include all the automations that use a Schedule Trigger and their start times ('begin'). One thing to keep in mind is that the API token must have fmesuperuser role to apply 'includeAutomations'=true in this request. This security requirement is positioned to change the V4 API. You can inquire about the progress of this request with our internal tracking id, FMESERVER-19031. Hope that helps!


sigher
Contributor
Forum|alt.badge.img+5
  • Contributor
  • 10 replies
  • May 8, 2023

vki
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 64 replies
  • May 9, 2023

Sounds very interessting! Unfortunately, we only update FME every other year or so and we've updated FME to the version 2022.2.2 last year. The transformer needs FME 2022.2.4.0 (Build 22792) or higher, so I can't use it...