Loops in uipath have sequence by default, hence if there is a decision in loop it will be a normal switch and not flowswitch.
What is the best practice here?
Should i flatten the conditions and add it in a normal switch inside sequence or should i create a flowchart inside the loop?
Any links to best practices is appreciated. Thanks
@haberar911
You can take a flowchart inside the sequence…or else invoke a new flow and take a flowchart there by passing for-each item as an argument…
Hi @haberar911,
I find that if you have a large sequence in your code with multiple if statements, it may be best to use a flowchart instead. It is a lot easier to follow and make changes to.
The screenshots below show a process I developed, which is a main flowchart and a flowchart in the processing sequence.
Also as @Pravin_Patil1 suggested, break the main workflow up into sub workflows and invoke them, this will keep the file sizes down.