Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Flow-End method

Updated on August 16, 2022

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us