We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to prevent two people from running an alteryx app simultaneously - not on gallery

Heer
7 - Meteor

I have a chained app that is not meant to run via gallery

it produces some csv files that the next app references.

i want to prevent that file from changing until one user is done using it

in short, i want only one person to run the chained app. is there a way to do this?

1 REPLY 1
harshendra
8 - Asteroid

@Heer You need a flag to determine if the apps are already being used by someone or not.

 

Use a text file to determine what you need. At the start of your first app/workflow update the text file with value "App already running". At the end of your last app/workflow, update the same text file with value "App not running".

 

Now, read this file at the first app/workflow to know if the app is running or not. If "App already running", give the end user a message/error. If "App not running", update the value to "App already running" and let the app/workflow run.

Labels
Top Solution Authors