Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Server Discussions

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

Trigger workflow using Alteryx Server API V1

EN6924
10 - Fireball

Hi Experts,

 

We are running some of our workflows via Alteryx API Swagger page (Alteryx Server API V1) and trying to download the output file in .json format. In Alteryx Gallery we are seeing correct output file name to download, but after downloading the same output file from Alteryx Swagger, we are getting _extension added.

For instance, accurate name is ABC.json, using Swagger it is getting manipulated as _external_1_ABC.json_

 

API Structure we are using ---

1. Putting the workflow in queue - POST /api/gallery/workflows/{appID}/jobs/

2. Checking Job status - GET /api/gallery/jobs/{jobId}/

3. Retrieving workflow output - GET /api/gallery/jobs/{jobId}/output/{outputId|/

 

Alteryx logged a case with Alteryx, but no solution received since last 5 days.

 

Attached screenshots for reference.

How to fix the issue? 

1 REPLY 1
apathetichell
20 - Arcturus

Hey --- what are you using to view the file on the gallery? Asking because this looks like a regex replace --- where what you see as the file location/name is actually the file name --- ie if the filename was "externals\1\Users\list\myfile.json" --- regex_replace would change this into _externals_1_Users_list_myfile.json_ --- which would make sense if what you were seeing wasn't a quotes path+filename --- but  the actual name of the file...