SalesPoint Framework v3.0

Hook: Define Process Shutdown behavior


Requirement

Some action needs to be performed whenever the process is suspended or at the end of a process regardless of whether the process was suspended or finished normally.

Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern  
HotSpot
Processes
Hooks used
Define a new process
Participants
NewProcess

Changes

  1. NewProcess = Define a new process [NewProcess].
  2. if action must be executed only when process was suspended:
    1. NewProcess.onSuspended overrides SaleProcess.onSuspended .
  3. if action must be executed regardless of whether process was suspended or finished normally:
    1. NewProcess.onFinished overrides SaleProcess.onFinished .

Constraints

Comments


SalesPoint Framework v3.0