Is there a best workflow layout? Or does each workflow layout have it's specific purpose?

Hello,
I have just started learning about UiPath and I am currently on the course “Control Flow in Studio”, the course introduced me to 4 workflow layouts. Does each workflow layout have its own purpose, or do all 4 workflow layouts reach the same outcome and we need to choose which workflow fits best for us?

Do you mean the course on If, Do While, Switch etc? They all have different purposes and which you use will depend upon your requirements.

Hi,
Yes each workflow layout has its own purpose. Not sure if you are talking about the same workflows, but in general the usage can be like this:

  • Sequence: For linear tasks, where you only have to put some steps right in sequence without decisions. You can use it to organize small parts of your automation where you have just few steps in sequence.

  • Flowchart: For the process itself, since you can use flow decisions, then you can kind of “draw” you process in a easier way to visualize, it is easy to see the process like a process flow when you are using flowchart.

  • State Machine: Also for the process itself, but it is more abstract, you could use it to “draw” the very high level process, it is used in the REFramework, more applicable for transactional processes (Since you are just starting with UiPath I don’t recommend you to spend time on it for now, you can study state machines later on, in more advance studies when you start learning about the REFramework.

  • Global Exception Handler: It is used to set the behavior of the workflows, it is very important because you can handle with the erros in your project (again, since you are just starting I would recommend you to start first understanding how the activities “Try Catch” and “Throw Exception” works, you will use them more than the global hander itself.

Feel free to get in touch if you need any assistance :slight_smile:

Hey,
Thank you so much for this, I just have a follow-up question. When I first started with the course “Meet the UiPath Platform” it introduced me to this which I am following:


Do any of those courses cover all of the workflow layouts? Do I need to learn all of them? If they don’t, can you recommend any courses which cover the workflow layouts?

Many thanks again,

Hi,
I think it might cover those layouts, at least an idea, at courses: Control Flow, Project Organization, Debugging and Error/Exception Handling. But if you have time, would be good to follow the sequence to have a strong foundation (for example, variables/arguments, datatables, string manipulation, ui automation, they are all very important topics too).

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.