Skip to main content
Released

FME Server Automation | simplify trigger event testing

Related products:FME Flow

nic_ran
Contributor

It's currently possible to manually trigger an Automation to run if the defined trigger event is a Schedule and if the workflow is currently running. (You need to select the Schedule item in the workflow and then click the Trigger button at the bottom of the parameters window.)

It would be great if the option to trigger an Automation could be extended to all types of Automation trigger events so that they could be triggered from within the Automation interface, and so that the process could be made more consistent.

For example, you can't currently trigger a topic subscription from within the Automations interface. For that you need to save the Automation and go to the Notifications page and fire the Topic from there. I haven't checked the directory watch and similar trigger events but suspect them to be the same, i.e. needing to perform an external action to trigger the event.


Additionally, I've noticed that triggered automations do not get listed in the triggered jobs history until the automation job has completed. It would be good to see them listed as soon as the Automation is triggered (perhaps with an "Incomplete" Status and no finish datetime). Today I was testing firing a topic to trigger an automation and did not know it was working as the job wasn't showing up in the job history, so I inadvertently triggered multiple jobs...

These ideas tie back to this question:

https://knowledge.safe.com/questions/114447/testing-automations-in-fme-server.html?&childToView=114467#answer-114467


Merged Ideas:

On Demand Automation Option by robotix on March 31, 2020

On Demand Automation Option

-I don't want to stop, it go into the schedule, adjust it and restart it

-I don't want to go to the job log and resubmit

-No, I don't mean workspaces. I know you can do that.

-Just right click Run Now..???

-Actions: Run Now ???

Thanks. Have a nice Day.

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • September 24, 2020

Adding to my original idea, it would be great to have an "On Demand" trigger type.

This would allow Automations to be set up to be run on demand (triggered from a user request) rather than by an external event or schedule.


Forum|alt.badge.img+2

In FME Server 2021 the concept of a Manual Trigger has been introduced. If the manual trigger has been added to your Automation, once running you can choose to trigger the Automation through the UI. At this point a pop-up window will now appear where you can optionally enter a JSON message - simulating the incoming message from another trigger. For example, if you wanted to test an Automation usually triggered by a Directory Watch you would enter a file path to be parsed into the Automation before running.

I encourage you to check out this feature in the latest betas from https://safe.com/beta, if you do not think this satisfies your request then please share your feedback with us, we'd love to hear from you!

 

I'll also note that as of FME Server 2020.1 when you 'View Triggered Jobs' through an Automation or Schedule, the Completed, Queued and Running tabs are all available to view.

 


denniswilhelm
Contributor
Forum|alt.badge.img+11

Thanks for providing this feature in the FME 2021.

As far as I can see, you can only provide keys with the prefix "manual" through this trigger. However, the keys are completely different to the other triggers. In order to test or simulate your other triggers it would be nice if you could change the prefixes to something else. Another way around this would be to make the manual keys usable in user keys. This would allow you to harmonize your keys for testing.


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