Dear all,
I am using the alteryx API to run a workflow in the gallery, so far so good, the API works, starts the workflow BUT in the workflow I have a network file that I used, if I run this workflow manually or if I use the schedule, it runs without problem but with the API it doesnot.
Can't find the file: "\\ (see picture)
I notice that whe I used the API it runs as a local user. maybe this is the issue as the gallery might not take my credentials in the API
Any idea how to overcome this?
Solved! Go to Solution.
Does your Alteryx Server have a Run As user configured that has access to these network resources?
HI, I am not the admin of the Server but I imagine we can configure that if we know how, any suggestion how to do it?
Of course! You can find the resources here: https://help.alteryx.com/20212/server/worker#run-the-worker-as-a-different-user
https://help.alteryx.com/20212/server/configure-required-run-user-permissions
This is done in the "Alteryx System Settings" that can be found on the desktop of the Alteryx Server. They can check the box to "Run as a different user" and then enter in the credentials of a service account that has access to those network resources. That should resolve your issue.
Awesome, many thanks! This helps a lot to point into the right direction. Do you know if this feature can be customozied for each workflow? because it seems a general setup of the Gallery.
Of course! So generally speaking the credentials follow this hierarchy: https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-Workflow-Credentials-Work-on-a-Pr...
Most of the time when an API is used it is done in a programmatic fashion potentially integrated with processes from other systems which is why a service account is used.