jpdl3.1未改之前(流程定义--old)
- <xs:element name="process-definition">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="swimlane"/>
- <xs:group ref="node-elements"/>
- <xs:group ref="action-elements"/>
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- <xs:element ref="task"/>
- <xs:element ref="start-state"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
jpdl3.1未改之后(流程定义--new)
- <xs:element name="process-definition">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="swimlane"/>
- <xs:group ref="node-elements"/>
- <xs:group ref="action-elements"/>
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- <xs:element ref="task"/>
- <xs:element ref="start-state"/>
- </xs:choice>
- <!--流程表单 ADD BY YUCHEN 2008-12-05 begin -->
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element ref="form"/>
- </xs:choice>
- <!--流程表单 ADD BY YUCHEN 2008-12-05 end -->
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
jpdl3.1未改之前(任务定义--old)
- <xs:element name="task">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="assignment"/>
- <xs:element ref="controller"/>
- <xs:element ref="event"/>
- <xs:element ref="timer"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="blocking" type="booleanType" default="false"/>
- <xs:attribute name="signalling" type="booleanType" default="true"/>
- <xs:attribute name="description" type="xs:string"/>
- <xs:attribute name="duedate" type="xs:string"/>
- <xs:attribute name="swimlane" type="xs:string"/>
- <xs:attribute name="priority" type="priorityType" default="normal"/>
- </xs:complexType>
- </xs:element>
jpdl3.1未改之后(任务定义--old)
- <xs:element name="task">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="assignment"/>
- <xs:element ref="controller"/>
- <xs:element ref="event"/>
- <xs:element ref="timer"/>
- <!--任务表单 ADD BY YUCHEN 2008-12-05 begin -->
- <xs:element ref="form"/>
- <!--任务表单 ADD BY YUCHEN 2008-12-05 end -->
- </xs:choice>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="blocking" type="booleanType" default="false"/>
- <xs:attribute name="signalling" type="booleanType" default="true"/>
- <xs:attribute name="description" type="xs:string"/>
- <xs:attribute name="duedate" type="xs:string"/>
- <xs:attribute name="swimlane" type="xs:string"/>
- <xs:attribute name="priority" type="priorityType" default="normal"/>
- </xs:complexType>
- </xs:element>
表单元素
- <!--表单 ADD BY YUCHEN 2008-12-05 begin -->
- <xs:element name="form">
- <xs:complexType>
- <xs:attribute name="id" type="xs:string"/>
- <xs:attribute name="class" type="xs:string"/>
- </xs:complexType>
- </xs:element>
- <!--表单 ADD BY YUCHEN 2008-12-05 end -->
本文介绍了JPDL 3.1中流程定义与任务定义的更新内容,新增了表单元素以增强流程和任务的表单处理能力。
5557

被折叠的 条评论
为什么被折叠?



