Loop End Activity

<loop-end-activity id="3">
    ...
    
    <block-endpoint-ref activity-id="1"/>

  </loop-end-activity>
block-endpoint-ref
The block-endpoint-ref in this context allows the loop-end-activity to recognize its associated loop-begin-activity. This information is useful to the workflow engine when executing the loop. For example, if after the execution of a loop the exit condition evaluates to false, the block-endpoint-ref tells the workflow engine which activity to jump to in order to begin another iteration of the loop.