Use IWorkflowEngine API to get a Workflow Instance before using RingleFlow. The class diagram of IWorkflowEngine API is below:

The Workflow API

Figure 1. The IWorkflowEngine API of RingleFlow

We design the way how to get the engine with Abstract Factory. It describes the API above as follows: 

Namespace

ClassName

MethodName

Descriptions

HSDc.RingleFlow.Api

IWorkflowEngine

RepositoryService

Get the specific Workflow Repository Service. The Workflow Repository presents as the definition of the workflow. After getting the definition, it can start to process related definitions, including create a new Workflow Instance.

RuntimeService

Get the specific Runtime Service of the Workflow Instance. It presents to do related process for the specific Workflow Instance.

TaskService

Get the specific task service to proceed related process for the specific task.

OrganizationService

Get the organization service. It is usually used when the users defines their own rules.

HistoryService

Get the history service of the Workflow Instance.

HSDc.RingleFlow.Api.Factory

WorkflowEngineFactory

GetInstance

Use Factory to get the instance of IWorkflowEngine.

 Sample Code:  C#

Sample Code:  VB.NET

Last edited Jun 26, 2012 at 3:47 AM by cathysung, version 3

Comments

No comments yet.