<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alteryx Gallery API - Running Work flow under another user in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382501#M16918</link>
    <description>&lt;P class="lia-align-left"&gt;Greetings everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wonder if there way i can run workflow using API under the user utilizing the API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can figure it his name and email for the user before invoking the API and am using windows auth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem running these workflow from API it goes under my admin account where it should be under the user running it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal i want to pass the userid somehow to run the workflow under that user&amp;nbsp; job execution queue not the admin API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea how to achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;post /v3/workflows/{workflowId}/jobs Creates a new job and adds it to the job execution queue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 15:16:02 GMT</pubDate>
    <dc:creator>subiemf</dc:creator>
    <dc:date>2025-04-07T15:16:02Z</dc:date>
    <item>
      <title>Alteryx Gallery API - Running Work flow under another user</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382501#M16918</link>
      <description>&lt;P class="lia-align-left"&gt;Greetings everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wonder if there way i can run workflow using API under the user utilizing the API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can figure it his name and email for the user before invoking the API and am using windows auth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem running these workflow from API it goes under my admin account where it should be under the user running it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal i want to pass the userid somehow to run the workflow under that user&amp;nbsp; job execution queue not the admin API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea how to achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;post /v3/workflows/{workflowId}/jobs Creates a new job and adds it to the job execution queue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 15:16:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382501#M16918</guid>
      <dc:creator>subiemf</dc:creator>
      <dc:date>2025-04-07T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Gallery API - Running Work flow under another user</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382620#M16919</link>
      <description>&lt;P&gt;I don't have a gallery to screenshot, but you can select run options on the workflow, as to how that workflow is intended to execute. When you call it via the API you can specify some of those conditions.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 23:46:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382620#M16919</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-04-07T23:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Gallery API - Running Work flow under another user</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382635#M16920</link>
      <description>&lt;P&gt;Hi KGT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ty for your reply ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the api call there is body request no of these related to userid&amp;nbsp;&lt;/P&gt;&lt;P&gt;the below are the run options :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"workerTag": "string",&lt;BR /&gt;"credentialId": "string",&lt;BR /&gt;"questions": [&lt;BR /&gt;{&lt;BR /&gt;"name": "string",&lt;BR /&gt;"value": "string"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"priority": "Default"&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 03:51:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382635#M16920</guid>
      <dc:creator>subiemf</dc:creator>
      <dc:date>2025-04-08T03:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Gallery API - Running Work flow under another user</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382659#M16921</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/537116"&gt;@subiemf&lt;/a&gt;&amp;nbsp;If you want to run WF on the Server via API with specific user account(say User-A), you can use "credentialId". To do so, you need to do some steps:&lt;/P&gt;
&lt;P&gt;(1) In Gallery admin menu, go to Credential and add credential of User-A. It requires password of User-A so let User-A operate it from remote via online call or something.&lt;/P&gt;
&lt;P&gt;(2) For the added Credential of User-A, share it to your account so that you are eligible to use Credential of User-A&lt;/P&gt;
&lt;P&gt;(3) When calling Server API &lt;SPAN&gt;post /v3/workflows/{workflowId}/jobs, specify id of Credential of User-A in&amp;nbsp;"credentialId".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note that:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Sharing credential of user accounts to others is not good practice in terms of governance. Consider to create system account instead, and apply the above step replacing User-A with system account.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- In general, WFs on the Server is callable only when the owner of WF and the owner of API key is the same. In other word, we cannot execute WFs by others via API, even if those are shared in the Collection.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 05:51:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382659#M16921</guid>
      <dc:creator>gawa</dc:creator>
      <dc:date>2025-04-08T05:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Gallery API - Running Work flow under another user</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382667#M16922</link>
      <description>&lt;P&gt;Thank you so much gawa !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 06:24:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Gallery-API-Running-Work-flow-under-another-user/m-p/1382667#M16922</guid>
      <dc:creator>subiemf</dc:creator>
      <dc:date>2025-04-08T06:24:34Z</dc:date>
    </item>
  </channel>
</rss>

