Control flow in UiPath

Control flow

                  Control flow and dataflow plays a major which shows how the data and control move from one activity to the other. Controlling them is required in certain case where you can redirect or reiterate the flow for certain activities. UiPath provides a wide range of activities to achieve this.
                  Control flow is a concept that refers to the order in which particular actions are taken. In UiPath, you can do this through the activities you drop to your workflow, If...Else or For Each statements, switch, decision box and carefully-placed loops.

If activity:

The IF activity splits a sequence vertically and is perfect for short balanced linear branches. Challenges come when more conditions need to be chained in an IF… ELSE IF manner, especially when branches exceed available screen size in either width or height. As a general guideline, nested If statements are to be avoided to keep the workflow simple/linear.


Flow Decision: 

Flowchart layouts are good for showcasing important business logic and related conditions like nested IFs or IF… ELSE IF constructs. There are situations where a Flowchart may look good even inside a Sequence.

Switch Activity: 

Switch activity may be sometimes used in convergence with the If operator to streamline and compact an IF… ELSE IF cascade with distinct conditions and activities per branch.

Flow Switch: 

Flow Switch selects a next node depending on the value of an expression; Flow Switch can be seen as the equivalent of the procedural Switch activity in the Flowchart world. It can match a maximum of 12 cases.

Loops:

Loops are structures used to automate repetitive tasks.
In flowcharts, the simplest types of loops can be created by connecting a certain point in our workflow to an earlier execution one. 
In sequences, there are special activities (or containers) that repeat the action that is inside the body section. 
The While and Do While loops work by repeating the given set of actions from the body while the specified condition is true. The only difference between the two is the order in which the 2 elements are executed:
While - if the condition is met, the set of actions in the body are executed.
Do While - the actions are executed and then, if the condition is met, the actions are executed again.
The For Each loop works by iterating through a list of items, one item at a time, and executing whatever actions are in the body of the action.
For Each Row iterates through all the rows present in a data table.

3 comments:

  1. Wow, very nicely answered the difference between these 4 activities
    Thank you

    ReplyDelete
  2. I think things like this are really interesting. I absolutely love to find unique places like this. It really looks super creepy though!! rpa training institute in chennai

    ReplyDelete
  3. Thanks, this is generally helpful.
    Still, I followed step-by-step your method in this
    ui path training
    ui path online training
    ui path course
    rpa online training

    ReplyDelete

Robotic Process Automation

Robotic Process Automation - RPA                       Robotic process automation is the trending technology where soft...