Using Advanced tab of Activity workstep properties
You can use the Advanced tab to configure advanced events for the Activity workstep on activation, before activation, on completion, when overdue, when an error occurs and on recovery.
The Advanced tab in the Properties view for a Business Process consists of six tabs, namely: Before Activation, On Activation, When Completed, Overdue Actions, On Error, and On Recovery. By default, the Advanced tab displays the Before Activation tab. Activity worksteps in Web applications have Before Activation and When Completed tabs (similar to those for the Start workstep).