Procedure Exit

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

Function

Designate the exit port to be taken when exiting a Procedure.

Usage Scenario

If the workflow inside a Procedure has multiple possible outcome, use Procedure Exit to select the exit port to be taken.

Parameter Description

Exit Port

Default value

0

Instruction

Select the exit port of the Procedure to be taken. Each exit port is connected to a different succeeding logic.

Exit Port should be set in sequence, starting from 1. Exit Port 0 corresponds to the branch not connected with Procedure Exit in the Procedure. See the following application examples for details.

Application Examples

The “Vision Move” Step in the Procedure has three possible outcomes: success, plan failure, and other failure. Two exit ports are needed on the Procedure to connect to succeeding logics for success and failure.

Connect the Plan failure and Other failure exit ports of the “Vision Move” Step to a Procedure Exit and set Exit Port of Procedure Exit to 1. An exit port 1 is added to the Procedure, the exit port taken when the “Vision Move” Step failed at planning a path.

The Success port of the “Vision Move” Step is not connected to a Procedure Exit, and when this branch is executed, exit port 0 will be taken to exit the Procedure.

procedure exit workflow

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.