Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Fail workflow on timeout

Joe_Lipski
13 - Pulsar
13 - Pulsar

Hi all,

 

I've seen a few people talking about this topic, but cannot find a definitive answer or workaround so I was wondering if anyone has found a way to cancel individual workflows after a certain amount of time?

 

I know you can set a limit in server system settings, but for me it needs to be specific to individual workflows.

 

If anyone has any thoughts or ideas, they'd be most appriciated.

 

My specific issues is that I have a workflow being executed each morning by cmd and as part of the workflow it executes a batch file to call tabcmd. Intermittently this batch file hangs at different steps of the cmd and the workflow doesn’t fail or error, just sits there. This has also happened when I’ve ran directly in the designer interface hanging at 51% on the macro whilst trying to execute the same cmd line. I've tried looking through log files but can't seem to find anything particularly useful and think it must be to do with network connectivity (but I'm clutching at straws!)

Joe Lipski
1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

I'm wondering if you can start an event on run to run a PS script that will kill your PID after N minutes?

 

http://tweaks.com/windows/39559/kill-processes-from-command-prompt/

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.