Hooks are user-defined logic that can be triggered at some defined point in the process life cycle. No process hooks are supported for this RC.
The types of Hooks are:
OnInstantiate hook is called before the workflow instance is created. The OnInstantiate hook is not considered to be in the same transaction as the process instantiation action.
OnTerminate hook is called automatically after workflow instance termination ends.