<?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 Re: Alteryx Workflow called via Server API with Runner Tool Not Working in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750263#M8728</link>
    <description>&lt;P&gt;Yes.&amp;nbsp; You can have a workflow, that you are calling via the API, that in turn using the Download Tool calls another (dynamically-chosen) workflow via the API.&amp;nbsp; The AppID will be part of the URL you use in the Download Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the path error, that is not something I have seen before (that only happens via the API).&amp;nbsp; I suggest opening a ticket with &lt;A href="http://support.alteryx.com" target="_self"&gt;Alteryx Support&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 16:15:27 GMT</pubDate>
    <dc:creator>ScottG</dc:creator>
    <dc:date>2021-04-22T16:15:27Z</dc:date>
    <item>
      <title>Alteryx Workflow called via Server API with Runner Tool Not Working</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/749401#M8707</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been playing around with the Alteryx Gallery API recently trying to get a workflow running. The general idea behind the workflow is that the program calling the workflow via server API passes through a key/subject, web url to a file, and filename. I use the url and filename with the download tool to automatically save the file to my local system. However, I have a sub-process that I want to run that actually uses this saved file. For this, I use a reference data file that links a key/subject and the path to a specific workflow. Then, I join this ref data to the key/url passed in via api to find the workflow I want. I modified the crew runner tool to take in an input, so I pass the workflow path to the runner tool and it runs....and it works perfectly fine when I run the analytic app locally. When I try to test this on the server via api, the file gets saved, but the runner tool does not seem to work..Any suggestions?? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 21:24:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/749401#M8707</guid>
      <dc:creator>chrisecoyne</dc:creator>
      <dc:date>2021-04-21T21:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Workflow called via Server API with Runner Tool Not Working</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750204#M8723</link>
      <description>&lt;P&gt;The CReW Runner macros are supported in Alteryx Designer but &lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/CReW-Macro-Support/ta-p/465740" target="_self"&gt;not on Alteryx Server.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflows that you want to run on Server should be published (saved) to the Server itself.&amp;nbsp; &amp;nbsp;After that you can call those workflows using the Server REST API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not clear to me how the "key/subject" is being used, however, if this is needed by the workflow itself, then convert the workflow to an Analytic App and pass the key/subject as an App value using the API values parameter using the /v1/workflows/{appId}/jobs/ endpoint.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:56:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750204#M8723</guid>
      <dc:creator>ScottG</dc:creator>
      <dc:date>2021-04-22T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Workflow called via Server API with Runner Tool Not Working</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750220#M8725</link>
      <description>&lt;P&gt;Thanks for the response. The main workflow is being triggered using the server gallery REST API. This is an analytic app with 3 questions (subject, filename, attachmentURL. The workflow then runs and using the filename and attachment URL the download saves the file to my computer. I want to run a workflow off the back of this using the newly saved file. Depending on the subject passed in, the workflow I want to run after varies. I input a reference data file that chooses the correct workflow based on the subject and then tried passing this into the runner tool (which isn't working on server).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I utilize the REST API within a workflow to trigger another workflow that takes in dynamic parameters (i.e pass it the correct App ID rather than passing the runner the workflow path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, realized the download tool works locally and on the server as an analytical app; however, when I trigger the same app via the Rest API, it returns an error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ "&lt;/SPAN&gt;&lt;SPAN class="attribute"&gt;status&lt;/SPAN&gt;&lt;SPAN&gt;": &lt;/SPAN&gt;&lt;SPAN class="value"&gt;&lt;SPAN class="number"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, "&lt;/SPAN&gt;&lt;SPAN class="attribute"&gt;text&lt;/SPAN&gt;&lt;SPAN&gt;": &lt;/SPAN&gt;&lt;SPAN class="value"&gt;&lt;SPAN class="string"&gt;"Error Opening file: \\\\samplepath\\xxx\\xxx\\xxx\\xxx\\xxx\\XXX\\Output Folder\\Sub Folder\\\n: The filename, directory name, or volume label syntax is incorrect. (123)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, "&lt;/SPAN&gt;&lt;SPAN class="attribute"&gt;toolId&lt;/SPAN&gt;&lt;SPAN&gt;": &lt;/SPAN&gt;&lt;SPAN class="value"&gt;&lt;SPAN class="number"&gt;64&lt;/SPAN&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Somehow the path is getting messed up only when triggered by the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 15:20:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750220#M8725</guid>
      <dc:creator>chrisecoyne</dc:creator>
      <dc:date>2021-04-22T15:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Workflow called via Server API with Runner Tool Not Working</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750263#M8728</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; You can have a workflow, that you are calling via the API, that in turn using the Download Tool calls another (dynamically-chosen) workflow via the API.&amp;nbsp; The AppID will be part of the URL you use in the Download Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the path error, that is not something I have seen before (that only happens via the API).&amp;nbsp; I suggest opening a ticket with &lt;A href="http://support.alteryx.com" target="_self"&gt;Alteryx Support&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 16:15:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750263#M8728</guid>
      <dc:creator>ScottG</dc:creator>
      <dc:date>2021-04-22T16:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Workflow called via Server API with Runner Tool Not Working</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750287#M8729</link>
      <description>&lt;P&gt;Thanks a lot for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 17:27:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Alteryx-Workflow-called-via-Server-API-with-Runner-Tool-Not/m-p/750287#M8729</guid>
      <dc:creator>chrisecoyne</dc:creator>
      <dc:date>2021-04-22T17:27:06Z</dc:date>
    </item>
  </channel>
</rss>

