In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Subscription APIs

MaxMcConchie
5 - Atom

Hi,

 

I've been playing around with the subscription APIs and I'm running into some unexpected results.

 

Firstly, I've created a workflow in my private studio (Subscription) and enabled API. 

 

When I run /v1/workflows/subscription/ I get a 200 success and the response body as follows:

 

[
{
"id": "62004857565473279cf99bf8",
"subscriptionId": "5e9e5846565473141062a34a",
"public": false,
"runDisabled": false,
"packageType": 1,
"uploadDate": "2022-02-06T22:14:47.233Z",
"fileName": "BluePrismAPI_Test_Workflow_MM.yxmd",
"metaInfo": {
"name": "BluePrismAPI_Test_Workflow_MM",
"description": "",
"author": "",
"copyright": "",
"url": "",
"urlText": "",
"outputMessage": "",
"noOutputFilesMessage": ""
},
"isChained": false,
"version": 1,
"runCount": 1,
"workerTag": ""
}
]

 

This tells me that there is 1 workflow with an ID of "62004857565473279cf99bf8"

 

Then when I try run the POST API /v1/workflows/{appid}/jobs/ with an appId = 62004857565473279cf99bf8 I am getting a 200 and response as follows:

 

{
"id": "62004eae1b27000095003f3f",
"appId": null,
"createDate": "2022-02-06T22:41:50.4003534Z",
"status": "Queued",
"disposition": "None",
"outputs": [],
"messages": [],
"priority": 0,
"workerTag": ""
}

 

However, when I check the Workflow Results inside Alteryx server there is no record of the workflow being run. 

 

What am I doing wrong?

 

 

 

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hey @MaxMcConchie ,

 

You are doing everything correctly! I just tested here and I'm seeing the results when running using the gallery APIs.

 

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

https://community.alteryx.com/t5/Alteryx-Server-Ideas/See-Workflow-Results-from-API-Execution-in-Gal...

 

Best,

Fernando Vizcaino