📄 business_example.xpdl
字号:
<xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="Business_Example_Wor1_Act19" Id="Business_Example_Wor1_Tra24" Name="Transition" To="Business_Example_Wor1_Act21"> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_BREAK_POINTS" Value="267,656"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_TRANSITION_STYLE" Value="NO_ROUTING_ORTHOGONAL"/> </xpdl:ExtendedAttributes> </xpdl:Transition> <xpdl:Transition From="Business_Example_Wor1_Act10" Id="Business_Example_Wor1_Tra47" Name="Transition" To="Business_Example_Wor1_Act13"> <xpdl:Condition Type="CONDITION">Partial_Ship_Status == "OK"</xpdl:Condition> <xpdl:Description>Partial ship is approved.</xpdl:Description> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_BREAK_POINTS" Value="629,371"/> <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_BLOCK" Value="ACTIVITY_SET_ID=Business_Example_Wor1_Ase1,JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par13,CONNECTING_ACTIVITY_ID=received_in_good_condition,X_OFFSET=551,Y_OFFSET=97,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_BLOCK" Value="ACTIVITY_SET_ID=Business_Example_Wor1_Ase1,JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par13,CONNECTING_ACTIVITY_ID=ship,X_OFFSET=125,Y_OFFSET=97,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_BLOCK_PARTICIPANT_ORDER" Value="Business_Example_Wor1_Ase1;Participant_Repository_Par13"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par12,CONNECTING_ACTIVITY_ID=Business_Example_Wor1_Act21,X_OFFSET=604,Y_OFFSET=418,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par11,CONNECTING_ACTIVITY_ID=Business_Example_Wor1_Act5,X_OFFSET=761,Y_OFFSET=23,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par11,CONNECTING_ACTIVITY_ID=Business_Example_Wor1_Act1,X_OFFSET=138,Y_OFFSET=23,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="Participant_Repository_Par11;Participant_Repository_Par12"/> </xpdl:ExtendedAttributes> </xpdl:WorkflowProcess> <xpdl:WorkflowProcess AccessLevel="PUBLIC" Id="Business_Example_Wor2" Name="Customer Service - Request for Partial Shipment"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>13-03-2003</xpdl:Created> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"/> <xpdl:FormalParameters> <xpdl:FormalParameter Id="Customer_Name" Index="1" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:Description>The customer (or customer organization) name</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Product_Name" Index="2" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:Description>The product name</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Ordered_Quantity" Index="3" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> <xpdl:Description>The number of ordered items</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="No_Of_Stocked_Items" Index="4" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> <xpdl:Description>The number of ordered items on stock</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Partial_Ship_Status" Index="5" Mode="OUT"> <xpdl:DataType> <xpdl:DeclaredType Id="Business_Example_Typ2"/> </xpdl:DataType> <xpdl:Description>If customer aggreed on partial shipment, set the value of this variable to "OK", otherwise to anything else ("NOT_OK" for e.g.)</xpdl:Description> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:Activities> <xpdl:Activity Id="Business_Example_Wor2_Act4" Name="notify sales"> <xpdl:Description>Enter the customer response ("OK" if customer accepts partial shipment)</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>Participant_Repository_Par10</xpdl:Performer> <xpdl:StartMode> <xpdl:Automatic/> </xpdl:StartMode> <xpdl:FinishMode> <xpdl:Automatic/> </xpdl:FinishMode> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="381,70"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par10"/> <xpdl:ExtendedAttribute Name="VariableToProcess_OUT" Value="Partial_Ship_Status"/> </xpdl:ExtendedAttributes> </xpdl:Activity> <xpdl:Activity Id="Business_Example_Wor2_Act2" Name="ask customer for partial shipment"> <xpdl:Description>Asks customer if it is OK to partialy ship the existing number of wanted items</xpdl:Description> <xpdl:Implementation> <xpdl:No/> </xpdl:Implementation> <xpdl:Performer>Participant_Repository_Par10</xpdl:Performer> <xpdl:StartMode> <xpdl:Automatic/> </xpdl:StartMode> <xpdl:FinishMode> <xpdl:Automatic/> </xpdl:FinishMode> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="226,70"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par10"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Customer_Name"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Product_Name"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Order_Quantity"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="No_Of_Stocked_Items"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:Transitions> <xpdl:Transition From="Business_Example_Wor2_Act2" Id="Business_Example_Wor2_Tra23" Name="Transition" To="Business_Example_Wor2_Act4"> <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=Participant_Repository_Par10,CONNECTING_ACTIVITY_ID=Business_Example_Wor2_Act4,X_OFFSET=538,Y_OFFSET=81,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par10,CONNECTING_ACTIVITY_ID=Business_Example_Wor2_Act2,X_OFFSET=139,Y_OFFSET=81,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="Participant_Repository_Par10"/> </xpdl:ExtendedAttributes> </xpdl:WorkflowProcess> <xpdl:WorkflowProcess AccessLevel="PUBLIC" Id="Business_Example_Wor3" Name="Check Credit"> <xpdl:ProcessHeader DurationUnit="D"> <xpdl:Created>13-03-2003</xpdl:Created> </xpdl:ProcessHeader> <xpdl:RedefinableHeader PublicationStatus="UNDER_TEST"/> <xpdl:FormalParameters> <xpdl:FormalParameter Id="Customer_Name" Index="1" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:Description>The customer to check credit status for</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Product_Name" Index="2" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="STRING"/> </xpdl:DataType> <xpdl:Description>The product that customer wants</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Order_Quantity" Index="3" Mode="IN"> <xpdl:DataType> <xpdl:BasicType Type="INTEGER"/> </xpdl:DataType> <xpdl:Description>The number of items of wanted product</xpdl:Description> </xpdl:FormalParameter> <xpdl:FormalParameter Id="Credit_Status" Index="4" Mode="OUT"> <xpdl:DataType> <xpdl:DeclaredType Id="Business_Example_Typ2"/> </xpdl:DataType> <xpdl:Description>The credit status. If credit status is high enough to cover 25% of ordered items price, the value has to be set to "OK"</xpdl:Description> </xpdl:FormalParameter> </xpdl:FormalParameters> <xpdl:Activities> <xpdl:Activity Id="Business_Example_Wor3_Act1" Name="check credit"> <xpdl:Description>Check the credit status of the customer. If the customer has enough money to cover 25% of ordered items price, allow further order processing by setting the Credit_Status value to "OK"</xpdl:Description> <xpdl:Implementation> <xpdl:Tool Id="Application_Repository_App4" Type="APPLICATION"/> </xpdl:Implementation> <xpdl:Performer>Participant_Repository_Par9</xpdl:Performer> <xpdl:StartMode> <xpdl:Automatic/> </xpdl:StartMode> <xpdl:FinishMode> <xpdl:Automatic/> </xpdl:FinishMode> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="288,70"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par9"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Customer_Name"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Product_Name"/> <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Order_Quantity"/> <xpdl:ExtendedAttribute Name="VariableToProcess_OUT" Value="Credit_Status"/> </xpdl:ExtendedAttributes> </xpdl:Activity> </xpdl:Activities> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_END_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par9,CONNECTING_ACTIVITY_ID=Business_Example_Wor3_Act1,X_OFFSET=519,Y_OFFSET=81,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=END_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_START_OF_WORKFLOW" Value="JaWE_GRAPH_PARTICIPANT_ID=Participant_Repository_Par9,CONNECTING_ACTIVITY_ID=Business_Example_Wor3_Act1,X_OFFSET=128,Y_OFFSET=81,JaWE_GRAPH_TRANSITION_STYLE=NO_ROUTING_ORTHOGONAL,TYPE=START_DEFAULT"/> <xpdl:ExtendedAttribute Name="JaWE_GRAPH_WORKFLOW_PARTICIPANT_ORDER" Value="Participant_Repository_Par9"/> </xpdl:ExtendedAttributes> </xpdl:WorkflowProcess> </xpdl:WorkflowProcesses> <xpdl:ExtendedAttributes> <xpdl:ExtendedAttribute Name="EDITING_TOOL" Value="Together Workflow Editor Professional"/> <xpdl:ExtendedAttribute Name="EDITING_TOOL_VERSION" Value="2.0-2-P-20060227-0925"/> <xpdl:ExtendedAttribute Name="JaWE_CONFIGURATION" Value="default"/> </xpdl:ExtendedAttributes></xpdl:Package>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -