Articles → UIPATH → Pick Branch Activity In Uipath

Pick Branch Activity In Uipath






Purpose




Picture showing the kids playing the treasure hunting game

Click to Enlarge




Pick Branch Activity




  1. Trigger
  2. Action


Picture showing the pickbranch activity with trigger and action section in Uipath studio

Click to Enlarge


Example




  1. Drag and drop the "Pick" activity.
  2. Inside the "Pick" activity, drag and drop the 2 "Pick Branch" activities.
  3. In the first "Pick Branch" activity, add the following activities inside the "Trigger" section.
    1. A "Write Line" activity.
    2. A "delay" activity with a delay of 5 seconds.
    3. Another "Write Line" activity.
    4. "Read Text File" activity for reading the text file.
  4. In the "Action" section, drag and drop the "Write Line" activity with the content of the text file.
  5. Picture showing the list of activities in the trigger section of the first pickbranch activity

    Click to Enlarge

  6. In the second "Pick Branch" activity, add the following activities inside the "Trigger" section.
    1. A "Write Line" activity.
    2. A "delay" activity with a delay of 10 seconds.
    3. Another "Write Line" activity.
  7. In the "Action" section, drag and drop the "Write Line" activity with text "Time Up".
  8. Picture showing the list of activities in the trigger section of the second pickbranch activity

    Click to Enlarge

  9. Save and run the bot.

Output




Picture showing the output of the pickbranch activity in uipath

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, February 12, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250