Do you want to take control of your Alteryx workflows?

Do you want to take control of your Alteryx workflows?

If you've ever struggled with managing the order of operations in your processes, the Control Container tool is here to help!?

In the last edition, we spoke about the Tool Container, so now it’s time to level up and say a few words about the Control Container!?

Why Use Control Containers?

Are you curious about how this tool can be useful in your workflow and what benefits it offers? Let me highlight three major advantages that you can't ignore:

1. It ensures the right order of events when it is important.

2. You can organize your workflow, it allows you to write multiple outputs in a preferred sequence.

3. It's easier to develop complex workflows, because you don’t have to learn advanced concepts like batch macros and chained apps.

And yet, are you still not using it...?

But what exactly is it?

Control Containers enable the conditional execution of certain blocks of logic based on data from the workflow, another Control Container, or other tools to build more dynamic and complex processes. If you need to ensure that one process doesn't start before another finishes, always use multiple Control Containers.

AMP Only

If the AMP engine is disabled, using the Control Container tool in your workflow will result in an error.

How to make it work?

The workflow isn’t working because we didn’t connect the Control Containers properly.

Below you will see how to set it up properly to utilize the control containers capabilities.

If you don’t connect the Control Containers you use in the workflow, you won’t achieve the expected result and an error will appear. You can notice this in the GIFs above. The first one presents the effect when there is no proper connection between containers, and the second one shows how to set it up correctly.

To connect two Control Containers, you have to follow similar steps as you would when adding and connecting a new tool to a workflow.

2 Anchors: Control Input (Optional) vs Logging Output

Control Input (Optional)

Think of the Control Input as the starter button for your Control Container. When a single record arrives, it's like pressing that button to get everything going. Once pressed, the container patiently waits for all the records to come through this starting point before it begins its main tasks. This setup makes sure everything is in order before the heavy work starts.?

Now, what happens if there's no connection to the Control Input? Simple! The container is activated and functions similarly to a Tool Container.

The Logging Output?

On the other hand, the Logging Output is like having a conversation about what's happening inside the container. It records every detail, displaying all the log messages from the tools within the container and even its sub-containers. These messages only appear in the Control Container data if they're also visible in the Results grid, making sure you only see what’s important.?

What if the container is turned off? Then it’s quiet—no messages are sent out. This ensures that you’re not cluttering up your workspace with unnecessary data when the container isn’t active.?

What about the configuration??

  • Just like a Tool Container, you can use a Control Container to group tools. If you move the Control Container, all tools contained in it move together.???

  • It also automatically makes space for more tools if you add them.?

  • Plus, you can change how your Control Container looks. You can pick different colors for the text and borders, adjust the background color, and change how see-through it is. You can even alter its size to fit your needs.?

Disabled Control Container vs. Enabled Control Container?

Disabled: Designer ignores the container (as well as all tools within it) and it won't report any configuration errors for them either.?

Enabled: Designer decides whether to activate it based on records received by the input anchor when you run the workflow.?

Limitations??

Control Containers are quite flexible and can work with several types of tools in Alteryx. For example, In-Database tools function properly within Control Containers. Detour Tools also integrate well, although if a Detour End tool is placed inside an inactive Control Container, it drops its data stream. You can use Control Containers effectively within macros.?

However, not all tools are compatible:?

  • Interface tools are not supported inside Control Containers.??

  • Block Until Done (BUD) tools don't work with Control Containers - an error message will appear.??

  • Looped connections generate an error.??

  • A Debug Workflow containing Control Containers will produce an error.?

Being aware of these limitations can help you plan and execute your workflows more effectively without unexpected disruptions.?

In Conclusion?

Control Containers are a fantastic way to make your Alteryx workflows more efficient. Whether you're dealing with large datasets or complex sequences, they help ensure everything runs smoothly.?

Stay tuned for more tips and tricks in our next newsletter!?

Happy Analyzing! ???

Control Containers are a great tool for boosting both the efficiency and organization of your Alteryx workflows. Make sure to read this newsletter to fully discover these capabilities!

回复

要查看或添加评论,请登录

Emil Kos的更多文章

  • How Every Tax Team Can Avoid Wasting Time

    How Every Tax Team Can Avoid Wasting Time

    As a tax professional, you’re facing more pressure than ever - complex regulations, tight deadlines, and the constant…

  • Onboarding New Users

    Onboarding New Users

    Starting with new software can be challenging, and Alteryx is no exception. That’s why onboarding new users is so…

  • The Original Engine (E1) vs The AMP Engine

    The Original Engine (E1) vs The AMP Engine

    Fast Data Processing Matters In an era where data is king, being able to quickly make sense of large amounts of data…

    7 条评论
  • How to Compare Workflows Easily?

    How to Compare Workflows Easily?

    Did you know that you can quickly identify differences in Alteryx workflows? This allows for time savings over manually…

    1 条评论
  • How to implement and standardize Alteryx in your organization?

    How to implement and standardize Alteryx in your organization?

    I truly believe Alteryx is a magical tool that allows its users to solve business problems in an elegant and scalable…

    3 条评论
  • Let's get organized in Alteryx using the Tool Container!

    Let's get organized in Alteryx using the Tool Container!

    Efficiency in data workflows is key, and mastering Alteryx features can make all the difference. With the Container…

    11 条评论
  • UBS Rhetoric Club visits Hackaton

    UBS Rhetoric Club visits Hackaton

    Hi Linkedin Friends, I am a bit late with this as the event took place at on the 28th of June but I thought it is still…

社区洞察

其他会员也浏览了