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


vki
Contributor
Forum|alt.badge.img+7
  • Contributor
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!

View original
Did this help you find an answer to your question?

3 replies

sanaeatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • 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+4
  • Contributor
  • May 8, 2023

vki
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • May 9, 2023
sigher wrote:

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...


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