📄 workflow_patterns.xpdl
字号:
<xpdl:WorkflowProcess Id="WfABSP3_Multiple_Merge" Name="WfABSP3 Multiple Merge"> <xpdl:ProcessHeader> <xpdl:Created>2006-11-23 14:26:30</xpdl:Created> <xpdl:Description>merge many execution paths without synchronizing</xpdl:Description> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"> <xpdl:Author>Fuad Abinader</xpdl:Author> </xpdl:RedefinableHeader> <xpdl:DataFields> <xpdl:DataField Id="common" IsArray="FALSE"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:InitialValue>common data</xpdl:InitialValue> </xpdl:DataField> <xpdl:DataField Id="sbflw1data" IsArray="FALSE"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:InitialValue>sbflw1 data</xpdl:InitialValue> </xpdl:DataField> </xpdl:DataFields> <xpdl:Activities> <xpdl:Activity Id="A" Name="A"> <xpdl:Description>you have option to change the value of variable whereToGo. If you set it to B, C or D process will follow to activity B, C or D. If you set it to AB, BA, AC, CA, BC, CB, ABC, BCA, ... it will follow to all of the activities mentioned in the variable value</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="Pkg_MyPatterns_wp1_tra6"/> <xpdl:TransitionRef Id="Pkg_MyPatterns_wp1_tra11"/> <xpdl:TransitionRef Id="Pkg_MyPatterns_wp1_tra15"/> </xpdl:TransitionRefs> </xpdl:Split> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="161,184"/> <xpdl:ExtendedAttribute Name="VariableToProcess_UPDATE" Value="whereToGo"/> </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_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="410,40"/> </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_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="421,184"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="D" Name="D"> <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_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="424,312"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="S1" Name="S1"> <xpdl:Implementation> <xpdl:SubFlow Execution="ASYNCHR" Id="WfPIMI_Subflow"> <xpdl:ActualParameters> <xpdl:ActualParameter>common</xpdl:ActualParameter> <xpdl:ActualParameter>sbflw1data</xpdl:ActualParameter> </xpdl:ActualParameters> </xpdl:SubFlow> </xpdl:Implementation> <xpdl:TransitionRestrictions> <xpdl:TransitionRestriction> <xpdl:Join Type="XOR"/> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="570,186"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="D" Id="Pkg_MyPatterns_wp1_tra8" To="S1"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="C" Id="Pkg_MyPatterns_wp1_tra4" To="S1"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="B" Id="Pkg_MyPatterns_wp1_tra5" To="S1"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="Pkg_MyPatterns_wp1_tra6" To="B"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('B') != -1</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="Pkg_MyPatterns_wp1_tra11" To="C"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('C') != -1</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="Pkg_MyPatterns_wp1_tra15" To="D"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('D') != -1</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_SPLINE"/> </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=S1,X_OFFSET=709,Y_OFFSET=197,JaWE_GRAPH_TRANSITION_STYLE=SIMPLE_ROUTING_BEZIER,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=test,CONNECTING_ACTIVITY_ID=A,X_OFFSET=75,Y_OFFSET=195,JaWE_GRAPH_TRANSITION_STYLE=SIMPLE_ROUTING_BEZIER,TYPE=START_DEFAULT"/> </xpdl:ExtendedAttributes> </xpdl:WorkflowProcess> <xpdl:WorkflowProcess Id="WfABSP4_Discriminator" Name="WfABSP4 Discriminator"> <xpdl:ProcessHeader> <xpdl:Created>2006-11-23 14:26:30</xpdl:Created> <xpdl:Description>The discriminator is a point in a workflow process that waits for one of the incoming branches to complete before activating the subsequent activity. From that moment on it waits for all remaining branches to complete and "ignores" them. Once all incoming branches have been triggered, it resets itself so that it can be triggered again (which is important otherwise it could not really be used in the context of a loop). (NOTE that current implementation does not support loop scenario).</xpdl:Description> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"> <xpdl:Author>Fuad Abinader</xpdl:Author> </xpdl:RedefinableHeader> <xpdl:DataFields> <xpdl:DataField Id="availableBranchesToAccessE" IsArray="FALSE"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> <xpdl:InitialValue>0</xpdl:InitialValue> </xpdl:DataField> <xpdl:DataField Id="openedBranchesAfterA" IsArray="FALSE"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> <xpdl:InitialValue>0</xpdl:InitialValue> </xpdl:DataField> </xpdl:DataFields> <xpdl:Applications> <xpdl:Application Id="UpdateBooleanVariable" Name="UpdateBooleanVariable"> <xpdl:FormalParameters> <xpdl:FormalParameter Id="booleanValue" Mode="OUT"> <xpdl:DataType> <xpdl:BasicType Type="BOOLEAN"/> </xpdl:DataType> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="ToolAgentClass" Value="org.enhydra.shark.toolagent.JavaScriptToolAgent"/> <xpdl:ExtendedAttribute Name="Script" Value="booleanValue = true;"/> </xpdl:ExtendedAttributes> </xpdl:Application> </xpdl:Applications> <xpdl:Activities> <xpdl:Activity Id="A" Name="A"> <xpdl:Description>you have option to change the value of variable whereToGo. If you set it to B, C or D process will follow to activity B, C or D. If you set it to AB, BA, AC, CA, BC, CB, ABC, BCA, ... it will follow to all of the activities mentioned in the variable value</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="Pkg_MyPatterns_wp1_tra6"/> <xpdl:TransitionRef Id="Pkg_MyPatterns_wp1_tra11"/> <xpdl:TransitionRef Id="Pkg_MyPatterns_wp1_tra15"/> </xpdl:TransitionRefs> </xpdl:Split> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="184,209"/> <xpdl:ExtendedAttribute Name="VariableToProcess_UPDATE" Value="whereToGo"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="B" Name="B"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Imp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -