[Reserved] 2.8 UiPath interrupt introduction and use of activities Break

A, Break introduction

  Break: to end the current cycle Note:. Break control can only be used For Each loop

 

Two, Break For Each loop combination in the UiPath

  1. Open the designer, in designing a new Flowchart library and was named Flowchart

  

 

  2. Add an Assign used as a data source, add a For Each loop

  

 

  3. Add Body For Each cycle as a cumulative Assign added Log Message traversed data for printing

  

 

  4. Set variable Assign in completing the cumulative expression, add print information in the Log Message

  

 

  5. Add if, and determines expression fill Condition, Control Break and adding, when the condition is satisfied, stopping traversal

  

 

  6. Add a Log Message Flowchart for printing the accumulated value

  

  

 

  7. Run the process to see the results in the Output

  

 

 Source: RPA House ( http://www.rpazj.com )

 Author: RPA home team

Guess you like

Origin www.cnblogs.com/Erik_Xu/p/11854461.html