Articles → UIPATH → Flow Decision Activity In Uipath

Flow Decision Activity In Uipath






Purpose





Example




  1. Create a new flowchart
  2. Drag and drop the "Path Exists" activity. Give the invalid path and assign the result to the Boolean variable
  3. Picture showing the path exists activity with the wrong path in UiPath studio
    Click to Enlarge

  4. Drag and drop the "Flow Decision" activity. Assign the variable "output" to the "condition" attribute of the "Flow Decision" activity
  5. Picture showing the Flow Decision activity based on the value of the output variable
    Click to Enlarge

  6. In the true condition, drag and drop the message box with the text - "Path Exists"
  7. In the false condition, drag and drop the message box with the text - "Path does not exists"
  8. Save and run the bot
  9. Picture showing the 2 message boxes in the Flow Decision activity once for true and other for false
    Click to Enlarge



Output


Picture showing the output of the flow decision activity in UiPath
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, February 11, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250