<?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 Subscription APIs in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Subscription-APIs/m-p/899465#M10254</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been playing around with the subscription APIs and I'm running into some unexpected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I've created a workflow in my private studio (Subscription) and enabled API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run /v1/workflows/subscription/ I get a 200 success and the response body as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"id": "62004857565473279cf99bf8",&lt;BR /&gt;"subscriptionId": "5e9e5846565473141062a34a",&lt;BR /&gt;"public": false,&lt;BR /&gt;"runDisabled": false,&lt;BR /&gt;"packageType": 1,&lt;BR /&gt;"uploadDate": "2022-02-06T22:14:47.233Z",&lt;BR /&gt;"fileName": "BluePrismAPI_Test_Workflow_MM.yxmd",&lt;BR /&gt;"metaInfo": {&lt;BR /&gt;"name": "BluePrismAPI_Test_Workflow_MM",&lt;BR /&gt;"description": "",&lt;BR /&gt;"author": "",&lt;BR /&gt;"copyright": "",&lt;BR /&gt;"url": "",&lt;BR /&gt;"urlText": "",&lt;BR /&gt;"outputMessage": "",&lt;BR /&gt;"noOutputFilesMessage": ""&lt;BR /&gt;},&lt;BR /&gt;"isChained": false,&lt;BR /&gt;"version": 1,&lt;BR /&gt;"runCount": 1,&lt;BR /&gt;"workerTag": ""&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This tells me that there is 1 workflow with an ID of "62004857565473279cf99bf8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I try run the POST API /v1/workflows/{appid}/jobs/ with an appId =&amp;nbsp;62004857565473279cf99bf8 I am getting a 200 and response as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "62004eae1b27000095003f3f",&lt;BR /&gt;"appId": null,&lt;BR /&gt;"createDate": "2022-02-06T22:41:50.4003534Z",&lt;BR /&gt;"status": "Queued",&lt;BR /&gt;"disposition": "None",&lt;BR /&gt;"outputs": [],&lt;BR /&gt;"messages": [],&lt;BR /&gt;"priority": 0,&lt;BR /&gt;"workerTag": ""&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I check the Workflow Results inside Alteryx server there is no record of the workflow being run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Feb 2022 22:43:43 GMT</pubDate>
    <dc:creator>MaxMcConchie</dc:creator>
    <dc:date>2022-02-06T22:43:43Z</dc:date>
    <item>
      <title>Subscription APIs</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Subscription-APIs/m-p/899465#M10254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been playing around with the subscription APIs and I'm running into some unexpected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I've created a workflow in my private studio (Subscription) and enabled API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run /v1/workflows/subscription/ I get a 200 success and the response body as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"id": "62004857565473279cf99bf8",&lt;BR /&gt;"subscriptionId": "5e9e5846565473141062a34a",&lt;BR /&gt;"public": false,&lt;BR /&gt;"runDisabled": false,&lt;BR /&gt;"packageType": 1,&lt;BR /&gt;"uploadDate": "2022-02-06T22:14:47.233Z",&lt;BR /&gt;"fileName": "BluePrismAPI_Test_Workflow_MM.yxmd",&lt;BR /&gt;"metaInfo": {&lt;BR /&gt;"name": "BluePrismAPI_Test_Workflow_MM",&lt;BR /&gt;"description": "",&lt;BR /&gt;"author": "",&lt;BR /&gt;"copyright": "",&lt;BR /&gt;"url": "",&lt;BR /&gt;"urlText": "",&lt;BR /&gt;"outputMessage": "",&lt;BR /&gt;"noOutputFilesMessage": ""&lt;BR /&gt;},&lt;BR /&gt;"isChained": false,&lt;BR /&gt;"version": 1,&lt;BR /&gt;"runCount": 1,&lt;BR /&gt;"workerTag": ""&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This tells me that there is 1 workflow with an ID of "62004857565473279cf99bf8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I try run the POST API /v1/workflows/{appid}/jobs/ with an appId =&amp;nbsp;62004857565473279cf99bf8 I am getting a 200 and response as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "62004eae1b27000095003f3f",&lt;BR /&gt;"appId": null,&lt;BR /&gt;"createDate": "2022-02-06T22:41:50.4003534Z",&lt;BR /&gt;"status": "Queued",&lt;BR /&gt;"disposition": "None",&lt;BR /&gt;"outputs": [],&lt;BR /&gt;"messages": [],&lt;BR /&gt;"priority": 0,&lt;BR /&gt;"workerTag": ""&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I check the Workflow Results inside Alteryx server there is no record of the workflow being run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 22:43:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Subscription-APIs/m-p/899465#M10254</guid>
      <dc:creator>MaxMcConchie</dc:creator>
      <dc:date>2022-02-06T22:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Subscription APIs</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Subscription-APIs/m-p/900409#M10271</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/306235"&gt;@MaxMcConchie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are doing everything correctly! I just tested here and I'm seeing the results when running using the gallery APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This idea suggests that we did have this issue before, but I'm not sure in which version this was implemented. I'm in 2021.2&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Server-Ideas/See-Workflow-Results-from-API-Execution-in-Gallery/idi-p/371814" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Server-Ideas/See-Workflow-Results-from-API-Execution-in-Gallery/idi-p/371814&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Fernando Vizcaino&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 20:11:57 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Subscription-APIs/m-p/900409#M10271</guid>
      <dc:creator>fmvizcaino</dc:creator>
      <dc:date>2022-02-08T20:11:57Z</dc:date>
    </item>
  </channel>
</rss>

