Free Trial

Alteryx Designer Desktop Discussions

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

Run Command After Output File Created

MattReif_SE
7 - Meteor

I have a .vbs script that I would like to run automatically in the output of my workflow to properly format the data directly after it is created. The way I sought to do this was using the Block Until Done to allow my Output to generate, then move on to the Run Command to call out my script. I have verified that my script formats properly when run manually but I cannot get the Run Command tool to link, and consistently get the error message "Either an Output connection or Input connection is required" despite being connected to my Block Until Done tool. Hoping for either a solution to fix the connection to the Run Command tool or an alternative way to get this to format automatically after the Output is generated. Thanks!

 

 

6 REPLIES 6
ChrisTX
16 - Nebula
16 - Nebula

Is the AMP engine on or off?

Do you have a later version of Alteryx where you can use Control Containers (under the Developer group)?

alexnajm
18 - Pollux
18 - Pollux

I would expect this to work... could you put down maybe a Select tool in between your Block Until Done and your Run Command (that does nothing) and try that?

MattReif_SE
7 - Meteor

AMP engine is on and I do have access to the Control Container tool.

MattReif_SE
7 - Meteor
 

Just the select tool still reads the same error as shown in the chain. I was able to get that error to go away by putting something in the optional Write Source argument but then it returned a cscript error 1.

 

alexnajm
18 - Pollux
18 - Pollux

Control Containers are a great option to try - try those and see how they get on. Note you cannot have Block until Done tools with Control Containers, so it would look something like this:

Run Command After Output File Created.png

 

But also based on what you are saying, it sounds like it's just an issue with not configuring the Run Command tool fully. Keep trying different things there and make sure you have at least one of the two parts it is specifying

ChrisTX
16 - Nebula
16 - Nebula

I think I've seen people mention issues with Block Until Done with AMP on.  Use Control Containers instead.

 

Labels
Top Solution Authors