📄 sample_workflow_process.xpdl
字号:
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="8" Id="17" To="33"> <Condition Type="OTHERWISE"/> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="33" Id="18" To="6"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="5" Id="20" To="17"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="17" Id="21" To="1"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="1" Id="22" To="12"> <Condition>status == "Valid Data"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="214;218;1"/> </ExtendedAttributes> </Transition> <Transition From="1" Id="23" To="39"> <Condition>status == "Invalid Data"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="449;334;1"/> </ExtendedAttributes> </Transition> <Transition From="12" Id="24" To="10"> <Condition>orderType == "Credit"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="12" Id="25" To="41"> <Condition>orderType == "PO"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="10" Id="26" To="32"> <Condition>status == "Accept"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="648;218;1"/> </ExtendedAttributes> </Transition> <Transition From="41" Id="27" To="32"> <Condition>status == "Accept"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="32" Id="28" To="9"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="39" Id="29" To="6"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="1057;438;1"/> </ExtendedAttributes> </Transition> <Transition From="41" Id="30" To="39"> <Condition>status == "OverLimit"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="570;74;1"/> </ExtendedAttributes> </Transition> <Transition From="10" Id="31" To="39"> <Condition>status == "BadCredit"</Condition> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> <ExtendedAttribute Name="BreakPoint" Value="533;248;1"/> </ExtendedAttributes> </Transition> <Transition From="9" Id="38" To="56"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="56" Id="39" To="33"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="17" Id="40" To="58"> <Condition Type="EXCEPTION"/> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> <Transition From="58" Id="42" To="39"> <ExtendedAttributes> <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> </ExtendedAttributes> </Transition> </Transitions> <ExtendedAttributes> <ExtendedAttribute Name="StartOfWorkflow" Value="DBConnection;5;78;12;NOROUTING"/> <ExtendedAttribute Name="EndOfWorkflow" Value="DBConnection;6;1037;10;NOROUTING"/> <ExtendedAttribute Name="ParticipantVisualOrder" Value="DBConnection;FreeTextExpressionParticipant;"/> </ExtendedAttributes> </WorkflowProcess> <WorkflowProcess AccessLevel="PRIVATE" Id="2" Name="FillOrder"> <ProcessHeader/> <FormalParameters> <FormalParameter Id="orderNumber" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> <Description>Order number assigned to the order.</Description> </FormalParameter> <FormalParameter Id="orderType" Index="1" Mode="IN"> <DataType> <ExternalReference location="http://wfmc.org/standards/docs/xpdl_sample/orderschema.xsd" namespace="orderschema/Order" xref="orderType"/> </DataType> </FormalParameter> <FormalParameter Id="emailAddress" Index="1" Mode="IN"> <DataType> <BasicType Type="STRING"/> </DataType> </FormalParameter> </FormalParameters> <DataFields> <DataField Id="docURI" IsArray="FALSE"> <DataType> <BasicType Type="STRING"/> </DataType> <Description>URI of receipt or invoice.</Description> </DataField> <DataField Id="orderStatus" IsArray="FALSE"> <DataType> <BasicType Type="STRING"/> </DataType> </DataField> <DataField Id="creditInfo" IsArray="FALSE"> <DataType> <DeclaredType Id="CreditInfo"/> </DataType> </DataField> <DataField Id="creditStatus" IsArray="FALSE"> <DataType> <BasicType Type="STRING"/> </DataType> </DataField> </DataFields> <Participants> <Participant Id="Shipper"> <ParticipantType Type="ROLE"/> <Description>Order shipper</Description> </Participant> </Participants> <Applications> <Application Id="shipOrder"> <Description>This application presents a screen that presents order information for the order identified by shipOrder. The user may update the order with any changes such as back order information. It returns a string indicating whether the order is complete or on back order.</Description> <FormalParameters> <FormalParameter Id="OrderNumberParam" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> </FormalParameter> <FormalParameter Id="Status" Index="2" Mode="OUT"> <DataType> <BasicType Type="STRING"/> </DataType> <Description>The String that describes the status -- either "Complete" or "Backorder"</Description> </FormalParameter> </FormalParameters> </Application> <Application Id="charge"> <Description>Charges the credit card and prepares a receipt for a credit order</Description> <ExternalReference location="http://wfmc.org/standards/docs/xpdl_sample/creditService.wsdl" xref="ChargeCreditAccount"/> </Application> <Application Id="billAccount"> <Description>Bills the vendor account</Description> <FormalParameters> <FormalParameter Id="orderNumberParam" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> </FormalParameter> </FormalParameters> </Application> <Application Id="createInvoice"> <Description>Creates an invoice using the order information and stores it on a server.</Description> <FormalParameters> <FormalParameter Id="orderNumber" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> </FormalParameter> <FormalParameter Id="docURI" Index="2" Mode="OUT"> <DataType> <BasicType Type="STRING"/> </DataType> </FormalParameter> </FormalParameters> </Application> <Application Id="createReceipt"> <Description>Creates a receiptusing the order information and stores it on a server.</Description> <FormalParameters> <FormalParameter Id="orderNumber" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> </FormalParameter> <FormalParameter Id="docURI" Index="2" Mode="OUT"> <DataType> <BasicType Type="STRING"/> </DataType> </FormalParameter> </FormalParameters> </Application> <Application Id="cancelOrder"> <FormalParameters> <FormalParameter Id="orderNumberIn" Index="1" Mode="IN"> <DataType> <BasicType Type="INTEGER"/> </DataType> </FormalParameter> </FormalParameters> </Application> </Applications> <Activities> <Activity Id="21"> <Route/> <ExtendedAttributes> <ExtendedAttribute Name="ParticipantID" Value="FreeTextExpressionParticipant"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -