Activity-End is used to end the current activity and calling the activity. Exit-Activity is used to end the current activity.
- Use the Branch instruction to cause the current activity to find another specified activity and branch to it without a return. When the system executes a Branch step, control transfers to another activity found through rule resolution. Execution of the original activity pauses.
When the branched activity ends, processing of the current activity ends also; no steps after the Branch step are executed.
- Use the Call instruction to cause the current activity to find another specified activity and execute it. When that activity completes, control returns to the calling activity.