Chapter 18 Working with Sybase WorkSpace Business Process


Top-down use case

A business analyst designs a model using the Analysis process language because he wants to have a global perspective on the processes of an enterprise.

A developer recovers this Analysis model for automating some of its processes. At this stage, the developer needs to:

Generate for Sybase WorkSpace Business Process

Generate a BPM for Sybase WorkSpace Business Process using the Tools→Generate Business Process Model command. You use model generation to adapt the source model to the Sybase WorkSpace Business Process requirements and also to preserve a version of the original Analysis model in order to regenerate it later if need be.

If the Analysis model contains several top-level processes, you need to generate one model for each top-level process by deselecting the other processes in the Selection tab of the Generation dialog box.

During generation, some semantic transformations are performed on the model to make it compliant with Sybase WorkSpace Business Process.

<<Send>> and <<Receive>> activities

Identify the <<Undefined>> processes corresponding to the reception of a service request and change them to receive activities. Identify the <<Undefined>> processes corresponding to answers to these requests, change them to send activities and select their <<Receive>> process.

Implementing other services

The other <<Undefined>> processes need to be implemented by Web service operations.

If these operations are already implemented in the WorkSpace environment You can import them as service provider operations using the Import WorkSpace Services feature, and associate the service operations to <<Undefined>> processes.

For more information, see the "Importing WorkSpace Services" section.

If these operations are not implemented yet You can create them using the Invoke New ... Service command in the <<Undefined>> process contextual menu. This creates an empty operation that can be further defined using WorkSpace service editors. The supported WorkSpace service types are: Java, Transformation, Database and Message.

For more information, see the "Invoking WorkSpace Services" section.

Decision stereotype

<<SingleRule>> decision This decision is taken during the evaluation of a boolean expression defined in the WorkSpace decision editor. Only two flows must come from the <<SingleRule>> decision and one of these flows must have a False condition.

<<Choice>> decision This decision is triggered by a receive activity. All the flows coming from the <<Choice>> decision must target receive activities, there can be more than two flows.

Check the model

Check the current model in order to make sure it contains no error that would prevent file generation. The check model feature also verifies that the current model is conform to the Sybase WorkSpace Business Process language standard and may perform automatic corrections if need be.

Generation

Generate the Sybase WorkSpace Business Process files using the Language→Generate Sybase WorkSpace Business Process 1.0 code command.

For more information, see the "Generating for Sybase WorkSpace Business Process" section.

Implement

Use Business Process Service Editor to continue process implementation. You will have to define the type of received and sent messages, define <<SingleRule>> condition expressions, and so on.

 


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