We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Help with a workflow thats not sending emails

craigja
11 - Bolide

I have a workflow that uses the Server API to move workflows ready to be migrated to production over from our development server.  I collect the Fail output from the API tools that Im using and then union all the errors together, in order to send me an email if a workflow has not migrated.  The issue I have is that its not sending the email, its not even trying to send the email!  I have a workflow that has Unsupported Media Type as the error (If anybody knows what this means, let me know!) and I can see that the input to the email tool is setup correctly but it somehow wont send the error, or rather it seems there is no data getting to the Email tool from the API output, even though i can see it in the console - anyone any ideas how I can gather and send out an email from the F output of the Server API tool?

 

The 3 screenshots show that Im taking the F output from the API tool, the next one shows there is a row of data from this output and the 3rd shows the unioned input, where there is now no row of data.

 

Its like the workflow knows the API has errored and then stops any more processing, but.... it looks like it completes and I dont see any errors on the console when I run it locally on my designer or on the gallery if I run it there

 

 

 

3 REPLIES 3
craigja
11 - Bolide

I wonder now if its because some of the API tools are inside control containers that are not being activated, wonder if you cant really concatenate the output of active and non active control containers?

abacon
12 - Quasar

It looks like your error is in the API call itself, meaning the call completes correctly from the workflow perspective but you aren't receiving any data back. What is the specific call you are making that gets the 'unsupported media type' error and does the call work from other API tools (ie postman, alteryx api swagger docs)?

craigja
11 - Bolide

I found its the use of control containers - as I was unioning all the outputs together, if I just add an email to the output of each API tool it works fine, seems if you take multiple outputs from tools and one or more are inside a control container it doesnt work

Labels
Top Solution Authors