Delay and Terminate Activities

A delay activity allows the user to define a pause on the runtime processing and the delay for continuing the runtime processing.

You design a delay activity using a process with the <<Delay>> stereotype. You can also use the corresponding tool in the Sybase WorkSpace Business Process toolbox.

The <<Delay>> process generates a <<Timer>> event.

A terminate activity allows the user to define different kinds of end activities in order to stop the runtime processing of a process or complex activity.

Sybase WorkSpace Business Process supports several terminate activities: Throw Fault, Compensate, Terminate, and Break.

Sybase WorkSpace Business Process concept

PowerDesigner concept

ThrowException activity

Process with <<ThrowException>> stereotype with Generate event implementation type and <<Fault>> event.

Compensate activity

Process with <<Compensate>> stereotype with Generate event implementation type and Compensate event.

Terminate activity

End object with the <<Terminate>> stereotype.

Break activity

End object with the <<Break>> stereotype.

You can create these activities using the corresponding tool in the Sybase WorkSpace Business Process toolbox.

Using a process that generates a <<Fault>> event is useful if the fault name is explicitly catched by the exception handler of the parent complex activity. The name of the fault event will be the name of the fault catched by the exception handler.