business_example.xpdl

来自「jawe的最新版本,基于Java的图形化工作流编辑器。图形化工作流编辑器 。使用」· XPDL 代码 · 共 748 行 · 第 1/4 页

XPDL
748
字号
                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:Icon>money.png</xpdl:Icon>                    <xpdl:TransitionRestrictions>                        <xpdl:TransitionRestriction>                            <xpdl:Split Type="XOR">                                <xpdl:TransitionRefs>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra5"/>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra55"/>                                </xpdl:TransitionRefs>                            </xpdl:Split>                        </xpdl:TransitionRestriction>                    </xpdl:TransitionRestrictions>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="397,12"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par11"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act4" Name="check stock">                    <xpdl:Description>Check the stock status of ordered product. Fill the variable Stock_Status with:- "ALL" If there are enough items on stock,- "PARTIAL" - if there are some stocked items (but not enough)- "NONE" - if there are no any stocked item</xpdl:Description>                    <xpdl:Implementation>                        <xpdl:No/>                    </xpdl:Implementation>                    <xpdl:Performer>Participant_Repository_Par11</xpdl:Performer>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:Icon>help.png</xpdl:Icon>                    <xpdl:TransitionRestrictions>                        <xpdl:TransitionRestriction>                            <xpdl:Split Type="XOR">                                <xpdl:TransitionRefs>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra57"/>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra58"/>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra80"/>                                </xpdl:TransitionRefs>                            </xpdl:Split>                        </xpdl:TransitionRestriction>                    </xpdl:TransitionRestrictions>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="397,93"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par11"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_OUT" Value="Stock_Status"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_OUT" Value="No_Of_Stocked_Items"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Product_Name"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Order_Quantity"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act5" Name="decline order">                    <xpdl:Description>Tell customer they haven't credit for order</xpdl:Description>                    <xpdl:Implementation>                        <xpdl:No/>                    </xpdl:Implementation>                    <xpdl:Performer>Participant_Repository_Par11</xpdl:Performer>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:Icon>document_delete.png</xpdl:Icon>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="585,12"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par11"/>                        <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:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act9" Name="R1">                    <xpdl:Description>For partial shipments, check with customer and plan production in parallel</xpdl:Description>                    <xpdl:Route/>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:TransitionRestrictions>                        <xpdl:TransitionRestriction>                            <xpdl:Split Type="AND">                                <xpdl:TransitionRefs>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra12"/>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra13"/>                                </xpdl:TransitionRefs>                            </xpdl:Split>                        </xpdl:TransitionRestriction>                    </xpdl:TransitionRestrictions>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="397,179"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par11"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act10" Name="check part. ship">                    <xpdl:Description>Ask customer if OK to partial-ship (24 hrs)</xpdl:Description>                    <xpdl:Implementation>                        <xpdl:SubFlow Execution="SYNCHR" Id="Business_Example_Wor2">                            <xpdl:ActualParameters>                                <xpdl:ActualParameter>Customer_Name</xpdl:ActualParameter>                                <xpdl:ActualParameter>Product_Name</xpdl:ActualParameter>                                <xpdl:ActualParameter>Order_Quantity</xpdl:ActualParameter>                                <xpdl:ActualParameter>No_Of_Stocked_Items</xpdl:ActualParameter>                                <xpdl:ActualParameter>Partial_Ship_Status</xpdl:ActualParameter>                            </xpdl:ActualParameters>                        </xpdl:SubFlow>                    </xpdl:Implementation>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:Icon>mobilephone1.png</xpdl:Icon>                    <xpdl:TransitionRestrictions>                        <xpdl:TransitionRestriction>                            <xpdl:Split Type="XOR">                                <xpdl:TransitionRefs>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra16"/>                                    <xpdl:TransitionRef Id="Business_Example_Wor1_Tra47"/>                                </xpdl:TransitionRefs>                            </xpdl:Split>                        </xpdl:TransitionRestriction>                    </xpdl:TransitionRestrictions>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="592,179"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par11"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act11" Name="plan part. production">                    <xpdl:Description>Make plan assuming OK to partial-ship</xpdl:Description>                    <xpdl:Implementation>                        <xpdl:Tool Id="Application_Repository_App4" Type="APPLICATION"/>                    </xpdl:Implementation>                    <xpdl:Performer>Participant_Repository_Par12</xpdl:Performer>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:Icon>calculator.png</xpdl:Icon>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="397,29"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par12"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_OUT" Value="No_Of_Items_To_Produce"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="Order_Quantity"/>                        <xpdl:ExtendedAttribute Name="VariableToProcess_IN" Value="No_Of_Stocked_Items"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act13" Name="R2">                    <xpdl:Description>For partial production, wait until check with customer</xpdl:Description>                    <xpdl:Route/>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>                        <xpdl:Automatic/>                    </xpdl:FinishMode>                    <xpdl:TransitionRestrictions>                        <xpdl:TransitionRestriction>                            <xpdl:Join Type="AND"/>                        </xpdl:TransitionRestriction>                    </xpdl:TransitionRestrictions>                    <xpdl:ExtendedAttributes>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_OFFSET" Value="397,122"/>                        <xpdl:ExtendedAttribute Name="JaWE_GRAPH_PARTICIPANT_ID" Value="Participant_Repository_Par12"/>                    </xpdl:ExtendedAttributes>                </xpdl:Activity>                <xpdl:Activity Id="Business_Example_Wor1_Act14" Name="plan full production">                    <xpdl:Description>Either out-of-stock condition or rejection of partial ship can start full-order planning. Make plan to produce entire order</xpdl:Description>                    <xpdl:Implementation>                        <xpdl:Tool Id="Application_Repository_App4" Type="APPLICATION"/>                    </xpdl:Implementation>                    <xpdl:Performer>Participant_Repository_Par12</xpdl:Performer>                    <xpdl:StartMode>                        <xpdl:Automatic/>                    </xpdl:StartMode>                    <xpdl:FinishMode>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?