Is there a way in Alteryx to check if a file is already opened before downloading it?
I'm trying to check if a file is already opened before opening it in Alteryx so that I can avoid errors with the dynamic input tool. I imagine the setup looking something like a Try, Except block in Python.
I've already tried using the Run Command tool for this but am unable to because the PowerShell function below is in a Constrained Language Mode for me.
PowerShell Function: [System.IO.File]::Open("network\folder\test.xlsx", "Open", "ReadWrite", "None")
Constrained Language Mode Definition: PowerShell Constrained Language Mode is a security feature designed to limit the capabilities of PowerShell to reduce the risk of malicious activities. It restricts access to certain language elements and APIs that could be exploited by attackers, while still allowing administrators to perform essential tasks.
If there's no way in Alteryx to do this I'll have to see if IT will allow me to run this function.