community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Knowledge Base

Definitive answers from Server experts.

Stop a Long Running App/Workflow on a Private Gallery

Alteryx
Alteryx
Created on

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

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.

Alteryx
Alteryx

That is correct @terri_hancock, 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.

Asteroid

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

Alteryx
Alteryx

@KJennings

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