You are here: Reference > Activity methods > Flow-End

Flow-End method

Use this method to immediately end a flow execution, before execution reaches a Flow-End shape.

This method is needed only in unusual situations. Design flows so that flow processing ends at a Flow-End shape.

Parameters

This method has no parameters.

Results

The flow rule is no longer associated with the primary page of the activity.

This method does not perform any database updates. As appropriate, design your activity to clean up assignments or other objects created by the incomplete flow execution.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Methods and instructions by function