In the Design view right-click the Scope element and choose Add > Termination Handler. An empty container element appears.
From the Palette, drag one or several activities that will be executed and place them inside the Termination Handler container. Configure the properties of each activity.
You do not have to configure any properties for the termination handler.