📄 workflow_patterns.xpdl
字号:
</xpdl:WorkflowProcess> <xpdl:WorkflowProcess AccessLevel="PUBLIC" Id="WfBCP5_Simple_Merge" Name="WfBCP5 Simple Merge"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>2004-08-31 22:49:16</xpdl:Created> <xpdl:Description>merge alternative execution paths</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>you have option to change the value of variable whereToGo. If you set it to B process will follow to activity B, if you set it to C it will proceed to activity C, otherwise activity D will be executed</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:TransitionRestrictions> <xpdl:TransitionRestriction> <xpdl:Split Type="XOR"> <xpdl:TransitionRefs> <xpdl:TransitionRef Id="WfBCP5_Simple_Merge_Tra1"/> <xpdl:TransitionRef Id="WfBCP5_Simple_Merge_Tra2"/> <xpdl:TransitionRef Id="WfBCP5_Simple_Merge_Tra5"/> </xpdl:TransitionRefs> </xpdl:Split> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="180,100"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> <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_OFFSET" Value="400,20"/> <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="400,100"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="E" Name="E"> <xpdl:Description>Just press 'Complete' button</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>test</xpdl:Performer> <xpdl:TransitionRestrictions> <xpdl:TransitionRestriction> <xpdl:Join Type="XOR"/> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="560,100"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </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_OFFSET" Value="400,180"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="A" Id="WfBCP5_Simple_Merge_Tra1" Name="Transition" To="B"> <xpdl:Condition Type="CONDITION">whereToGo=="B"</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="WfBCP5_Simple_Merge_Tra2" Name="Transition" To="C"> <xpdl:Condition Type="CONDITION">whereToGo=="C"</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="B" Id="WfBCP5_Simple_Merge_Tra3" Name="Transition" To="E"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="C" Id="WfBCP5_Simple_Merge_Tra4" Name="Transition" To="E"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="WfBCP5_Simple_Merge_Tra5" Name="Transition" To="D"> <xpdl:Condition Type="OTHERWISE"/> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="D" Id="WfBCP5_Simple_Merge_Tra6" Name="Transition" To="E"> <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=E,X_OFFSET=670,Y_OFFSET=30,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=86,Y_OFFSET=34,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="WfABSP1_Multiple_Choice" Name="WfABSP1 Multiple Choice"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>2004-08-31 22:55:37</xpdl:Created> <xpdl:Description>choose several execution paths from many alternatives</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>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="WfABSP1_Multiple_Choice_Tra1"/> <xpdl:TransitionRef Id="WfABSP1_Multiple_Choice_Tra2"/> <xpdl:TransitionRef Id="WfABSP1_Multiple_Choice_Tra8"/> </xpdl:TransitionRefs> </xpdl:Split> </xpdl:TransitionRestriction> </xpdl:TransitionRestrictions> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="160,130"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> <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_OFFSET" Value="430,30"/> <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="430,130"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </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_OFFSET" Value="430,240"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="test"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="A" Id="WfABSP1_Multiple_Choice_Tra1" Name="Transition" To="B"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('B') != -1</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="WfABSP1_Multiple_Choice_Tra2" Name="Transition" To="C"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('C') != -1</xpdl:Condition> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="A" Id="WfABSP1_Multiple_Choice_Tra8" To="D"> <xpdl:Condition Type="CONDITION">whereToGo.indexOf('D') != -1</xpdl:Condition>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -