Has anyone been able to figure out a way to only allow one person at a time to use an app? working with chained apps and getting issues with multiple users. I am keen to avoid making bespoke input/output file names.
Solved! Go to Solution.
One way should be to use Alteryx Server API to check if the apps has already been put in queue in the server or is being executed by another user.
You can read more information on how to use Alteryx Server Api within your workflow here.
Another solution would be to create a "flag" (in a file for example) and to put a boolean value inside (1) when you begin the workflow and (0) at the end. You check this value prior to launch your process: if 0 then you continue else you stop. But you have to manage the fact that if your workflow crash, the value will not be put at 0 and the next execution will not be possible (so add a timestamp information to evaluate this situation).
Perhaps, there is a more smart solution.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WilliamR
I have looked at the API as a solution but it gets itself a bit confused as i'm using chained apps. I will have a think about a Boolean marker.
I think this would work for most people though so have marked as solution.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |