Chapter 19 Working with Sybase Unwired Orchestrator


Complex activity

Mapping

Unwired Orchestrator concept PowerDesigner concept
Complex activity Composite process with <<ComplexActivity>> stereotype

To display atomic activities, you must explicitly open the sub-diagram of the composite process. The sub-diagram should contain at least one start object and one end object.

Under the Complex Activity, you design a Fault or Compensate Activity using the end object with <<Fault>> or <<Compensate>> stereotype. You can also use a process object that generates the corresponding event.

When a flow has an event, the flow type is automatically determined depending on the stereotype of the event:

Event stereotype Flow type
Fault Business Error
Timer Timeout
Compensation Compensation

To define timeout attributes (Timeout and Duration) of a Complex Activity the following methods are provided:

Use Timeout attribute

You can use the Timeout attribute on the process object and an outgoing flow with a Timeout flow type to define the timeout attributes. You define DelayUnits and the type of timeout using the following extended attributes accessible from the property sheet of a composite process object with non-empty timeout attribute.

Extended attribute Description
TimeoutType AbsoluteTimeout or IntervalTimeout
DelayUnits Days, Hours, Minutes, Seconds or Date/time

Use Timer event

You can use Timer event to define the timeout attributes and associate this event to one output flow of the composite process. You define Duration using the following extended attributes on a Timer event:

Extended attribute Description
DelayUnits Days, Hours, Minutes, Seconds or Date/time

TimeoutType is defined within an event object by a Boolean attribute (Duration or DeadLine).

 


Copyright (C) 2007. Sybase Inc. All rights reserved.