Alteryx Server Knowledge Base

Definitive answers from Server experts.

Stop a Long Running App/Workflow on a Private Gallery

PeterS
Alteryx
Alteryx
Created

Say you have an App or a Workflow that seems to be taking a long time to run and you just want to stop it rather than letting it run its course. Here is how you can manually stop the process.

First a connection to the Controller will have to be made in Alteryx Designer under Options—Schedule Workflow or View Schedules. Once connected, under the Options—View Schedules—Queue tab, a list of workflows running on the Gallery or Scheduler are listed.

Find the correct job. A job that is running on the Gallery will have a long alphanumeric string under the Scheduled by filed. If you see something that looks like a Windows UserID (the non-highlighted job below) that is a job that is running from the Alteryx Scheduler, this is not the one you want.

Highlight it and click on the Cancel Job (the minus symbol in a circle) button.

Scheduled job vs Gallery.png

Once 'Cancel Job' is clicked a warning will pop up.

delete queue message.png

Click 'Yes' to confirm the cancelation of the job.

The Canceled job will then appear in the Results tab.

User canceled.png

That is how a long running job can be canceled in a Private Gallery.

Comments
TerriLH
7 - Meteor

Are you saying that while the job is running in the gallery, I can kill it in the scheduler? It would be nice to have a "STOP" button in the gallery.

PeterS
Alteryx
Alteryx

That is correct @TerriLH, if a job is running in the Gallery and you want to stop it, it can be done from the View Schedules window as long as you are connected to the controller.  The 'Stop' option is a great idea and would be a good addition to our Ideas Page.

KJennings
9 - Comet

Alteryx v11.3

 

Thank you, I found parts this article very useful.

 

For our location, individuals have Alteryx Designer at their desktops, but anything scheduled needs to be saved/published to our server.  Following your steps above, I was able to connect to the different server controllers as you describe, and cancel a long running workflow on the server.

 

However, things are different at our workstations.  Since we have only Designer, without the scheduler or other options, this method does not work because there is no controller value in the system settings to connect to.  Providing the servers' controller numbers lets see that server, but not your workstation.

 

So.. how do you cancel a long-running execution at your desktop when all you have available is Alteryx Designer?

 

Regards,

kj

lepome
Alteryx Alumni (Retired)

@KJennings

When you have a workflow running on your local computer, you can cancel just by clicking the Run button again.

ssidhpura05
6 - Meteoroid

@PeterS - I tried to open View Schedule on Controller server in designer however when i goto Queue tab, I do see the job name in there however the cancel option is grayed out for me.

 

I'm a local admin on Controller server. Any thoughts on why the cancel option is grayed out? 

 

ssidhpura05_0-1612987531825.png

 

 

PeterS
Alteryx
Alteryx

Hi @ssidhpura05 

 

I would suspect that you are not able to cancel the workflow due to its "Initializing" status. I would suggest taking a look at this article that has a few things that can be checked relating to server resources. If everything checks out from the article and you are still not able to cancel the workflow my suggestion is to open a support ticket with Customer Support

 

Hope this helps!