Free Trial

Alteryx Designer Desktop Discussions

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

How to run workflow depending on input file?

AlexFreighterDev
7 - Meteor

I need to make an workflow that has an input file, but depending on the name of it a certain workflow is used, how can I make this happen?

 

The photo shows the file structure I need.

 

Screenshot (13).png

5 REPLIES 5
Raj
16 - Nebula

Can you please explain your Requirement in detail as the information is very limited.

AlexFreighterDev
7 - Meteor

I have several excel files with different names. These files need to be processed in different ways. I want to make a workflow that with the name of the excel file chooses a certain workflow form a folder and runs it.

Raj
16 - Nebula

For example you have 3 file for Sales ,2 for finace,3 for Operations
you want all your sales file to be run by workflow 1, similarly finance by workflow 2 and operations by workflow3
and all the files have a specific Noman culture such as sales file have 
sales_xxxxxxx
finance_dddddd
operations_tttt

Etc is this your requirement? 

AlexFreighterDev
7 - Meteor

exactly!!!

I have differernt files, I want to have a master workflow that calls others to process thos files.

danilang
19 - Altair
19 - Altair

Hi @AlexFreighterDev 

 

I'm afraid there is no way to have one workflow conditionally execute different workflows unless you have the CReW macros.  The Conditional Runner tool will run a workflow if there is at least one record in it's input.  You set up your master workflow with as many Conditional Runner tools as needed.  Use a set of chained filters to ensure that only one of the Conditional Runner tools fires.. 

 

Without the CReW macros , you can create one large Master workflow and put the tools from each child workflows into separate Control Containers(v2023.1 and up).  Then when you read the input file, the workflow can control the various containers to enable the proper one based on the filename.

 

Dan 

Labels
Top Solution Authors