Alteryx Designer Desktop Discussions

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

Publishing Chained App to Gallery

dcothron
7 - Meteor

I am struggling to find some consistent information on this topic and am hoping to get some support from the community.

 

My organization is trying to publish a chained application with only 2 apps into our gallery, from local machines and other Alteryx users it runs without issue (as expected). I am able to publish the leading App up to the gallery without validation error and the Interface Designer has it setup to run the 2nd App in the chain as I have seen in several other threads.

 

Issue comes when executing 'Step 1' in the gallery the 2nd piece never executes prompting the user with the additional questions needed for 'Step 2'. 

 

We've tried publishing the 2nd App up to the gallery first and then the lead off one as well. Nothing seems to work right now.

 

Some items that might help us: Which assets need to be packaged up into the gallery? Does the UNC path need to be loaded for the triggering of the 2nd App? 

 

Any help would be greatly appreciated. 

 

 

20 REPLIES 20
DanM
Alteryx Community Team
Alteryx Community Team

@dcothron 

 

Are you getting errors? Note that the 1st app must run within 30 seconds in order to call the second app. This is a constraint added so that your server does not get stuck on the first app.

dcothron
7 - Meteor

@DanM 

 

The 1st app is running within approx. 4 seconds on my local machine and runs through the first leg of the chained series within approx 10 seconds on the server. When actually running the app it doesn't report any errors.

 

I have gotten one particular error when trying to load the 1st app to gallery but not always: Unknown Error: XmlException RequestID

 

example2.jpgexample1.jpg

dcothron
7 - Meteor

Also, when getting this error I am packaging the 2nd App as an asset into the upload to the gallery.

DanM
Alteryx Community Team
Alteryx Community Team

Just to eliminate that it isn't the individual workflows. Try and run each workflow separately on the Server and make sure they both run. Make sure that the location of the 2nd app that the fist is calling is using a relative path as well in the Interface Designer. If none of that works, please open a ticket with Support and provide them the Server logs. They can see if that 2nd app actually gets called and what is happening. 

dcothron
7 - Meteor

Trying to load the 2nd app just now I received the XmlException error, what is driving this? The workflow still runs fine in designer without any errors.

 

@DanM Update: I tried rebuilding the app in a new workflow and saving in case it had been corrupted in some way from the original but the same error persists.

DanM
Alteryx Community Team
Alteryx Community Team

@dcothron  Do you happen to have any special characters in either your file names or the workflow names? This XML error is coming from the server not being able to read the workflow. I would reach out to Support if you don't have special characters.

dcothron
7 - Meteor

@DanM Thank you, Dan. I went through the XML of the workflow and tried to identify where I had any inappropriate special characters and made those changes. This resolved the upload issue I was having, however, when executing the App now, the 2nd step is not displaying results from the first.

DanM
Alteryx Community Team
Alteryx Community Team

@dcothron Cool!

 

Couple of questions:

1. Are you writing out the 1st app output using an Output tool?

2. If so, where are you writing it to and does the Server have access to that file location?

 

Think of the Server as another user. That user needs to have access to the folder structure just like anyone else that would need to read or write. What may be happening is that the Server can't pickup that 1st app file as it may not have access to it.

 

One last thing that people sometimes get tripped up on is that if you are presenting users with multiple files in the app, the results of those files only show one at a time to be able to download. You have to use the drop down where the file name is displayed and you will see all of the different output produced.

 

If you don't think any of this is the case, can you attach your workflow here and I can take a look at your setup?

dcothron
7 - Meteor

@DanM 

Couple of questions:

1. Are you writing out the 1st app output using an Output tool? Yes. There are 4 outputs, 2 which load to a list box using External Source (.yxdb) and the other 2 are Inputs (.yxdb) within the 2nd App which are filtered from the list box inputs. 

2. If so, where are you writing it to and does the Server have access to that file location? Yes; the outputs are writing to the same folder that the Apps are in and the server can access this location. 

Labels