PeopleTools Exit Built-in Function


Exit without any parameters specified, all data is committed and the message is marked as complete. Use this to indicate that everything processed correctly and to stop program processing.

Exit()
Or
Exit(0);
Using the Exit Built-in Function with Parameters
When you supply a 1 as a parameter for the Exit function, the function:
Exit(1);
  • Processes a rollback.
  • Stops processing.
Note :
If you are using Iscript then use SQLEXEC("ROLLBACK")