9.6.13 Set the Activity Return Code
When an Activity begins processing its return code is set to 'OK' to indicate a normal completion. If your Activity Processor encounters an exception it should set the return code accordingly by calling one of the following methods in the ancestor class:
- SetCancel (sets the return code to 'CN')
- SetError (sets the return code to 'ER')
- SetWarning (sets the return code to 'WN')