O'Reilly logo

Essential Business Process Modeling by Michael Havey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

WAPI

WAPI[*] is the API offered by the enactment service for use by client applications, invoked applications, and administration and monitoring applications. WfMC’s lengthy specification (171 pages), which is mostly a catalog of API functions, is devoid of examples. Specifications are provided in three languages: C, CORBA IDL, and COM Automation. The section on C emphasizes the API’s functional breakdown, whereas the IDL and COM chapters provide an object-oriented view. The object-oriented view, depicted in the UML class diagram in Figure 7-5, can help you visualize the overall structure of WAPI.

The main class, ClientConnection, representing the main capabilities of WAPI, uses classes ProcessDefinition, ProcessInstance, ActivityInstance, and WorkItem, each of which inherits from WorkflowObject. A process definition has one or more process instances, which in turn has one or more activities instances, which can have a work item. The ToolAgent class creates an InvokedApplication class to perform the processing of a particular application invocation.

WAPI Functional Categories

The main functional components can be broken down into the following categories: connection, process control, activity control, worklist, administration, and application invocation.

WfMC WAPI class diagram
Figure 7-5. WfMC WAPI class diagram

Connection

The connection category allows an application to connect to and disconnect from a workflow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required