OFBIZ - Workflow learning note one (XPDL)

xiaoxiao2021-03-06  104

OFBIZ learning

Org.Ofbiz.workflow.definition data structure relationship

Describes the relationship between the data structure of the workflow running process; specific content reference org.Ofbiz.workflow.definition.vsd

Workflow standard

Overview

ü Workflow process definition interface - XML ​​Process Definition Language,

ü Use different tools to extend the processing of messages

ü XPDL is a general framework

Process definition and mutual conversion method

XPDL has developed a public conversion standard that enables internal conversion formats and standards of public conversion mutual diffraction;

The process definition conversion principle is shown below:

Metamodial model

In order to provide a common method to access and describe the workflow definition, WFMC develops a workflow definition metadata model.

entity

ü Workflow process definition

ü Workflow activity

ü Transfer information

ü Workflow participant statement

ü resource library

ü Workflow related data

ü System and operating environment settings

ü Data type and expression

package

ü is a container, packet management of entities of different general data

ü Store workflow defined entity public properties (author, version, state)

ü In the package, the entity definition range is full, and these entities can be defined by any workflow. These entities are: 1, Workflow Participant Description 2, Workflow External Application Description 3, Workflow Related Data;

XPDL

ü xpdl-1.0-schema.xsd illustrates

category

description

element

Description

Multi-entity universal attribute extension attribute

ExtendedAttribute

Form parameters

FormalParameter

External reference

ExternalReference

Pack definition package definition

Package

Package definition head

PackageHeader

Head

Redefition Header

Consistent category statement

ConfirmanClass

Script

Script

External package reference

EXTERNALPACKAGE

Workflow application declaration workflow application declaration Application

Workflow process definition workflow process definition WorkflowProcess

Workflow process head definition proceheader

Workflow process redefined head RedefinableHeader

ActivitySet

Workflow process activity workflow activity activity Activity

Path activity ROUTE

Block activity BlockActivity

Running control attribute startmode / finishmode; automatic / manual

Event Alternative Implementation Implementation If the activity is automatically run, you must use Tools Tool

Subflow Subflow

Inter-active relationship participants

Ultimate deadline Deadline

Process Simulation Information SimulationInformation

Condition transfer constraint TransitionRestrictions /

Uniformly classified

Transfer information Transitions

Transfer conditions expressions Condition

Abnormal transfer conditions Exception / DefaultException

Workflow participant workflow participant Participants

Workflow participant entity type ParticipantType

Workflow related data workflow related data DataField

Data type DataTypes

Data Type / Basic Data Type BasicType

Data Type / Complex Data Type ComplexType

ComplexType / Schema Type Schematype

ComplexType / Record Type RecordType

ComplexType / Union Type UnionType

ComplexType / Enumeration Type EnumerationTypeComplexType / ARRAYTYPE

ComplexType / List Type Listtype

Developer Declaring Type TypeDeclaration

Specific content reference xpdl.pdf

转载请注明原文地址:https://www.9cbs.com/read-97335.html

New Post(0)