Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

App: Optional File Input

kgordish
8 - Asteroid

Hello, 

I have successfully created an app. 

This pic represents two questions I can import data two sheets from a spreadsheet. Going to expand app have have same questions, but for different stages in program management cycle.

 

Question: Is there a way to have app run if not all files are attached for input?

 

Elaboration: For instance, milestone A has been met and data is available. However, milestone b has not occurred and data is not available. For other programs, data may be available for both milestones. 

or do I have to create multiple apps, based on the number of milestones. 

 

App.JPG

8 REPLIES 8
afv2688
16 - Nebula
16 - Nebula

Hello @kgordish ,

 

You don't need to do 3 workflows for that, you can use the radio button for that.

 

Untitled.png

 

Input the buttons and select the collapse group when deselected.

 

Untitled2.png

Set the inputs inside the radio button windows.

 

Untitled3.png

 

Now you can choose between which kind of inputs you want to make your workflow flow.

 

NOTE: TO be able to use this you have also to insert at least one part of the workflow (or replicate it 3 times) within a cointainer to disable the part of the workflow regarding the unused input.

 

If you share your app I may be able to modify it.

 

Cheers

kgordish
8 - Asteroid

Thank you kindly!

Wish I could send you a gift or bourbon.  

Workflow contains 4 main pathways, each labeled to the left.

Milestone 1 at Top, progressing downward with 3 optional milestone pathways. 

I can handle rerouting all the outputs to render in the "Visual Layout". 

Thank you for solving optional input issue. 

kgordish
8 - Asteroid

One more item. For each milestone, it is necessary to input two files.

Thus, total uploaded files range from 2 for one milestone, up to 8 for all four.

afv2688
16 - Nebula
16 - Nebula

Hello @kgordish ,

 

I think this should do it. I applied the rules as I considered but you will get the main Idea once you see it.

 

Marking posts as solved is good enough. :)

 

Cheers

kgordish
8 - Asteroid

I will have to open on my home desktop. Have the most recent version.
My work has not pushed out the latest Alteryx update and file cant open correctly.

Will check out later today.

Thanks.

kgordish
8 - Asteroid

@afv2688 I was able to update my version to Alteryx version to 2018.3.7 and could open.

 

Understand the logic of enabling or disabling containers. Getting some error warnings.

Do I have to add the entire pathway to the container to disable file imports when not selected. 

Thank you in advance.

Kevin

Error.JPG

kgordish
8 - Asteroid

Thanks. Finally figured out optional inputs and containers. 

 

The key items learned:

1. Interface Tool. Place Checkbox and File Browser within a Group Box. (Use arrow up/down).

2. Interface Tools can not be placed in containers

3. The Aha moment. The checkbox enable/disable pathway is connected to the container. (This is what I was having trouble with!)

Posting a simplified solution of this workflow. 

fgrahner001
6 - Meteoroid

Hi - Just found your topic and I had a follow question. 

 

When you say that you Place Checkbox and File Browser within a Group Box, doesn't that creates the opposite of the wanted result? 

 

In my current case if I group those two actions and choose to check the box, that is when the container the option to upload the file shows up, but also when the container gets disabled. And I am following your example. 

Labels