Inspire EMEA 2022 On-Demand is live! Watch now, and be sure to save the date for Inspire 2023 in Las Vegas next May.
We'll be completing standard maintenance for our Single Sign-On system on November 30th 6pm Pacific Time for approximately one hour. During this time My Alteryx and sign-in functionality to all My Alteryx programs (Licensing Portal, Community, Beta Program, Case Portal, and others) may be inaccessible. Thank you for your patience.

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer and Intelligence Suite.

How to start a workflow depending on an external event

olivierMPW
8 - Asteroid

hello,

is it possible possible to run a workflow based on an external event such as :

- a file is copied into a directory

- data is inserted by another tool into a relational database table (this flag indicates that all data has been loaded and so the workflow should start asap)

thanks

4 REPLIES 4
gabrielvilella
13 - Pulsar

Hi @olivierMPW, for the file you can use this tool here (https://github.com/bobpeers/Alteryx_SDK_EventTrigger). For the data I don't know a tool that does that, but you could build a workflow that keeps querying the database through an iterative macro for instance. You could insert something like the wait a sec (Crew macro) to delay the next iteration. 

olivierMPW
8 - Asteroid

thanks for the answer

so it means this workflow will continuously run on the server .

Isn't there an impact on global performance ?

gabrielvilella
13 - Pulsar

It will impact on the queue. If your server is set to run two jobs concurrently, you will have one slot constantly being used by that job. 

EVH
6 - Meteoroid

I think it depends on how quickly the event has to trigger the job from the customer's point of view. Could the job be run hourly to see if the file or DB has been updated? An hourly quick hit would keep that resource clear for use by other jobs. If that's an acceptable interval for the end customer, I'd be inclined to look in that direction.

Labels