This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
A lot has been written about how to develop different workflows, inbuild the wildest logics and automate business processes. Not so much, though, on the visual part of the workflows and apps as some call it “beautification”.
Obviously, Alteryx workflows are developed for a wide range of purposes. Whenever you need to draft a bunch of tools for your own analysis, your workflow will look very different from if you are a master developer building an app for client’s use. And in fact, this is also Alteryx’s charm.
Ok, why should you build nice and neat workflows?
Not long ago I posted a picture of a same workflow done by two individuals. It is a simplified example of what I am talking about…
Ok, what should I use?
Comments. When annotations are not sufficient, usage of comments (Comment tool can be found in the documentation category) is a great way of providing additional information on workflow content and easy to document step by step process. Use comments also for information not directly related to the workflow, like the background or specifics of the process or why was the process done this way. I sometimes also use them instead of containers as you can write more details inside them and you can bring the tools to the front. Using your selected picture as a background is a nice to have.
Tools alignment. Individuals tools within a workflow can be aligned either horizontally (Ctrl Shift -) or vertically (Ctrl Shift +). It is the main factor of what makes the workflow easy to review. Organizing the tools gives the impression of simple step by step process, value adding for handover to business users or clients. The best practice is also to limit the number of backward connections as much as possible and use straight lines connecting tools whenever possible. When aligning the tools, you can either keep the tools on the same line or you can keep the connections straight as you can see in the example below.
Wireless connections. Related to the previous, whenever the tools are placed far from each other, they are logically not related directly, or they are of lower importance, connect them without the visible wire. Long lines across the workflow bring confusion and are unnecessarily giving a sense of overcomplexity. The wireless connection can only be either on the input or the output of the tool, not necessarily both.
Inputs concentration. With heavy workflows with lots (>10) of inputs in place, it may help you place all the inputs (or outputs) nearby (in a container) rather than having them spread around the entire canvas. A user can easily identify what datasets are coming into the process immediately after opening the workflow. It also allows faster management of the datasets and settings updates. Using it together with wireless connections is advised.
Layout direction. While the layout of a workflow is set up horizontally by default, you can switch it to vertical if you find it more meaningful for your work. While I personally have not used it, it can be beneficial when you want to see all the inputs at the very top of the canvas or you need to have logical containers visible next to each other. Switch the layout direction in workflow configuration/canvas options.
Meta info. The last point already goes beyond the workflow but is very much related to the documentation. Meta info in workflow configuration is especially useful when publishing to Gallery or building a macro. Write here the description of your work, what is the purpose of the workflow or even who is the author (with name and company).
Would you add some more? Which ones do you use most frequently? Let me know.
Regards,
Michal Lichter
Billigence
Excellent post - thank you!
I think you've captured the most important elements and I use most of them quite frequently. In particular the annotations and use of containers are really helpful.
A couple of things that I use to aid readability are
1) It's often helpful to use an Explorer Box at the top of the canvas so that readers can familiarize themselves with the major inputs and outputs
2) Comment boxes with the background set to an image of the expected input / output can greatly help with understanding the overall flow
3) Develop a standard for container background colors to differentiate major process flows
4) Naming connections can really help in complex flows
Cheers,
Iain
Awesome tricks! The combination of the container and wireless connection makes my workflow looks clean. Thank you for the post!
Best,
Zihao
I have prepared a related post about Best Practices on How to use Comments in your workflows
Enjoy!