I would check out the help file within BP to see what interface commands are available.
There is a ""Stop"" command that takes a process ID. however this will force a stop and not gracefully end the process. I would instead look at updating a ""Stop"" session variable using the ""setvar"" command. This would allow you to build it into your process template and provide a way to cleanly stop the process after the current case has completed.