BusinessProcessInterface

Each variable workflow step must implement this interface. The factory produces an instance of the BusinessProcess class. This class runs the actual business logic on the document. It has the following methods:

Method

process

Method description

Runs the business logic on the business document that is passed in.

Syntax

public BusinessDocumentInterface process(
                                    Context context,
                                    BusinessDocumentInterface bDoc)

Parameters

context
The context associated with this flow
bDoc
The business document being processed

Method

reset

Method description

Resets the BusinessProcess class. This method is called by BusinessProcessFactory.

Syntax

public boolean reset()

Parameters

None

Copyright IBM Corp. 2003, 2005