📄 workflow_patterns.xpdl
字号:
<?xml version="1.0" encoding="UTF-8"?><xpdl:Package Id="workflow_patterns" Name="Workflow patterns" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd"> <xpdl:PackageHeader> <xpdl:XPDLVersion>1.0</xpdl:XPDLVersion> <xpdl:Vendor>Together</xpdl:Vendor> <xpdl:Created>2004-08-31 22:22:17</xpdl:Created> <xpdl:Description>Contains workflow processes that show workflow patterns defined by Wil van der Aalst that are more or less directly supported by XPDL and Shark engine</xpdl:Description> </xpdl:PackageHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"> <xpdl:Author>Sasa Bojanic</xpdl:Author> </xpdl:RedefinableHeader> <xpdl:ConformanceClass GraphConformance="NON_BLOCKED"/> <xpdl:Script Type="text/javascript"/> <xpdl:Participants> <xpdl:Participant Id="test" Name="Test"> <xpdl:ParticipantType Type="ROLE"/> </xpdl:Participant> </xpdl:Participants> <xpdl:Applications> <xpdl:Application Id="ResetCounter"> <xpdl:FormalParameters> <xpdl:FormalParameter Id="counter" Mode="OUT"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="ToolAgentClass" Value="org.enhydra.shark.toolagent.JavaScriptToolAgent"/> <xpdl:ExtendedAttribute Name="Script" Value="counter = 0;"/> </xpdl:ExtendedAttributes> </xpdl:Application> <xpdl:Application Id="IncrementCounter"> <xpdl:FormalParameters> <xpdl:FormalParameter Id="counter" Mode="INOUT"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="ToolAgentClass" Value="org.enhydra.shark.toolagent.JavaScriptToolAgent"/> <xpdl:ExtendedAttribute Name="Script" Value="counter = counter + 1;"/> </xpdl:ExtendedAttributes> </xpdl:Application> <xpdl:Application Id="DecrementCounter"> <xpdl:FormalParameters> <xpdl:FormalParameter Id="counter" Mode="INOUT"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="ToolAgentClass" Value="org.enhydra.shark.toolagent.JavaScriptToolAgent"/> <xpdl:ExtendedAttribute Name="Script" Value="counter = counter - 1;"/> </xpdl:ExtendedAttributes> </xpdl:Application> <xpdl:Application Id="SetCounter"> <xpdl:FormalParameters> <xpdl:FormalParameter Id="value" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> </xpdl:FormalParameter> <xpdl:FormalParameter Id="counter" Mode="OUT"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="ToolAgentClass" Value="org.enhydra.shark.toolagent.JavaScriptToolAgent"/> <xpdl:ExtendedAttribute Name="Script" Value="counter = value;"/> </xpdl:ExtendedAttributes> </xpdl:Application> </xpdl:Applications> <xpdl:DataFields> <xpdl:DataField Id="whereToGo" IsArray="FALSE" Name="Where to go"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:InitialValue>B</xpdl:InitialValue> <xpdl:Description>The value of this variable determines the process flow.</xpdl:Description> </xpdl:DataField> </xpdl:DataFields> <xpdl:WorkflowProcesses> <xpdl:WorkflowProcess AccessLevel="PUBLIC" Id="WfBCP1_Sequence" Name="WfBCP1 Sequence"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>2004-08-31 22:28:17</xpdl:Created> <xpdl:Description>execute activities A, B and C in sequence</xpdl:Description> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"> <xpdl:Author>Sasa Bojanic</xpdl:Author> </xpdl:RedefinableHeader> <xpdl:Activities> <xpdl:Activity Id="A" Name="A"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="206,48"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="B" Name="B"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="356,48"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="C" Name="C"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="509,48"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="A" Id="WfBCP1_Sequence_Tra1" Name="Transition" To="B"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="B" Id="WfBCP1_Sequence_Tra2" Name="Transition" To="C"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> </xpdl:Transitions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=test,CONNECTING_ACTIVITY_ID=C,X_OFFSET=661,Y_OFFSET=101,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=test,CONNECTING_ACTIVITY_ID=A,X_OFFSET=91,Y_OFFSET=101,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:WorkflowProcess> <xpdl:WorkflowProcess AccessLevel="PUBLIC" Id="WfBCP2_Parallel_Split" Name="WfBCP2 Parallel Split"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>2004-08-31 22:34:21</xpdl:Created> <xpdl:Description>executes activity A, and after that activities B and C in parallel</xpdl:Description> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"> <xpdl:Author>Sasa Bojanic</xpdl:Author> </xpdl:RedefinableHeader> <xpdl:Activities> <xpdl:Activity Id="A" Name="A"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:TransitionRestrictions> <xpdl:TransitionRestriction> <xpdl:Split Type="AND"> <xpdl:TransitionRefs> <xpdl:TransitionRef Id="WfBCP2_Parallel_Split_Tra2"/> <xpdl:TransitionRef Id="WfBCP2_Parallel_Split_Tra1"/> </xpdl:TransitionRefs> </xpdl:Split> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="180,80"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="B" Name="B"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="330,10"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="C" Name="C"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="330,150"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="A" Id="WfBCP2_Parallel_Split_Tra1" Name="Transition" To="B"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -