Skip to main content

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

Exit-Activity method

Updated on August 10, 2022

The Exit-Activity method ends the current activity and returns control to the calling activity.

In rare cases, write your activity to call the Activity-End method (which ends the current activity and all calling activities too rather than Exit-Activity method).


This method uses no parameters and returns no results.


If no calling activity exists, the system starts the next activity in the activity list.

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. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us