<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, | |
software distributed under the License is distributed on an | |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | |
under the License. | |
--> | |
<Package Id="ofb_test" Name="OFBiz Test" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd"> | |
<PackageHeader> | |
<XPDLVersion>1.0</XPDLVersion> | |
<Vendor>OFBiz</Vendor> | |
<Created>2004-03-16 00:56:04</Created> | |
</PackageHeader> | |
<RedefinableHeader PublicationStatus="RELEASED"/> | |
<ConformanceClass GraphConformance="NON_BLOCKED"/> | |
<Script Type="text/java"/> | |
<Participants> | |
<Participant Id="system" Name="System"> | |
<ParticipantType Type="SYSTEM"/> | |
</Participant> | |
<Participant Id="admin" Name="admin"> | |
<ParticipantType Type="HUMAN"/> | |
</Participant> | |
</Participants> | |
<Applications> | |
<Application Id="ofb_test_App1" Name="Blocking Service"> | |
<Description>Blocking Test Service - 30 seconds</Description> | |
<FormalParameters> | |
<FormalParameter Id="ofb_test_App1_For1" Index="0" Mode="IN"> | |
<DataType> | |
<BasicType Type="STRING"/> | |
</DataType> | |
</FormalParameter> | |
</FormalParameters> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="AppName" Value="blockingTestScv"/> | |
<ExtendedAttribute Name="ToolAgentClass" Value="org.ofbiz.shark.tool.ServiceEngineAgent"/> | |
</ExtendedAttributes> | |
</Application> | |
<Application Id="ofb_test_App2" Name="Standard Service"> | |
<Description>Standard Test Service - No Blocking</Description> | |
<FormalParameters> | |
<FormalParameter Id="ofb_test_App2_For1" Index="0" Mode="IN"> | |
<DataType> | |
<BasicType Type="STRING"/> | |
</DataType> | |
</FormalParameter> | |
</FormalParameters> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="AppName" Value="testScv"/> | |
<ExtendedAttribute Name="ToolAgentClass" Value="org.ofbiz.shark.tool.ServiceEngineAgent"/> | |
</ExtendedAttributes> | |
</Application> | |
</Applications> | |
<WorkflowProcesses> | |
<WorkflowProcess AccessLevel="PUBLIC" Id="Test1" Name="OFBiz Shark Test 1"> | |
<ProcessHeader DurationUnit="s"> | |
<Created>2004-03-16 00:57:09</Created> | |
<Limit>10</Limit> | |
</ProcessHeader> | |
<RedefinableHeader PublicationStatus="RELEASED"> | |
<Author>Andy Zeneski</Author> | |
<Version>1.0</Version> | |
<Responsibles> | |
<Responsible>admin</Responsible> | |
</Responsibles> | |
</RedefinableHeader> | |
<DataFields> | |
<DataField Id="message" IsArray="FALSE" Name="message"> | |
<DataType> | |
<BasicType Type="STRING"/> | |
</DataType> | |
<InitialValue>OFBiz Shark Test</InitialValue> | |
</DataField> | |
</DataFields> | |
<Activities> | |
<Activity Id="Test1_Act1" Name="Route"> | |
<Route/> | |
<StartMode> | |
<Automatic/> | |
</StartMode> | |
<FinishMode> | |
<Automatic/> | |
</FinishMode> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="admin"/> | |
<ExtendedAttribute Name="XOffset" Value="180"/> | |
<ExtendedAttribute Name="YOffset" Value="60"/> | |
</ExtendedAttributes> | |
</Activity> | |
<Activity Id="Test1_Act2" Name="Manual"> | |
<Limit>5</Limit> | |
<Implementation> | |
<No/> | |
</Implementation> | |
<Performer>admin</Performer> | |
<StartMode> | |
<Manual/> | |
</StartMode> | |
<FinishMode> | |
<Manual/> | |
</FinishMode> | |
<TransitionRestrictions> | |
<TransitionRestriction> | |
<Split Type="AND"> | |
<TransitionRefs> | |
<TransitionRef Id="Test1_Tra4"/> | |
<TransitionRef Id="Test1_Tra11"/> | |
</TransitionRefs> | |
</Split> | |
</TransitionRestriction> | |
</TransitionRestrictions> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="admin"/> | |
<ExtendedAttribute Name="XOffset" Value="300"/> | |
<ExtendedAttribute Name="YOffset" Value="60"/> | |
</ExtendedAttributes> | |
</Activity> | |
<Activity Id="Test1_Act3" Name="Run Service"> | |
<Implementation> | |
<Tool Id="ofb_test_App1" Type="APPLICATION"> | |
<ActualParameters> | |
<ActualParameter>message</ActualParameter> | |
</ActualParameters> | |
</Tool> | |
<Tool Id="ofb_test_App2" Type="APPLICATION"> | |
<ActualParameters> | |
<ActualParameter>message</ActualParameter> | |
</ActualParameters> | |
</Tool> | |
</Implementation> | |
<Performer>system</Performer> | |
<StartMode> | |
<Automatic/> | |
</StartMode> | |
<FinishMode> | |
<Automatic/> | |
</FinishMode> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="system"/> | |
<ExtendedAttribute Name="XOffset" Value="420"/> | |
<ExtendedAttribute Name="YOffset" Value="20"/> | |
<ExtendedAttribute Name="ActivitiesUserPropertyofb_test_UDP1" Value="Shark Workflow Test"/> | |
</ExtendedAttributes> | |
</Activity> | |
<Activity Id="Test1_Act6" Name="Route"> | |
<Route/> | |
<StartMode> | |
<Automatic/> | |
</StartMode> | |
<FinishMode> | |
<Automatic/> | |
</FinishMode> | |
<TransitionRestrictions> | |
<TransitionRestriction> | |
<Join Type="AND"/> | |
</TransitionRestriction> | |
</TransitionRestrictions> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="system"/> | |
<ExtendedAttribute Name="XOffset" Value="550"/> | |
<ExtendedAttribute Name="YOffset" Value="50"/> | |
</ExtendedAttributes> | |
</Activity> | |
<Activity Id="Test1_Act7" Name="SubFlow"> | |
<Implementation> | |
<SubFlow Execution="ASYNCHR" Id="Sub1"/> | |
</Implementation> | |
<StartMode> | |
<Automatic/> | |
</StartMode> | |
<FinishMode> | |
<Automatic/> | |
</FinishMode> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="system"/> | |
<ExtendedAttribute Name="XOffset" Value="300"/> | |
<ExtendedAttribute Name="YOffset" Value="60"/> | |
</ExtendedAttributes> | |
</Activity> | |
</Activities> | |
<Transitions> | |
<Transition From="Test1_Act1" Id="Test1_Tra3" Name="Transition" To="Test1_Act2"> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> | |
</ExtendedAttributes> | |
</Transition> | |
<Transition From="Test1_Act2" Id="Test1_Tra4" Name="Transition" To="Test1_Act3"> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> | |
</ExtendedAttributes> | |
</Transition> | |
<Transition From="Test1_Act3" Id="Test1_Tra9" Name="Transition" To="Test1_Act6"> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> | |
</ExtendedAttributes> | |
</Transition> | |
<Transition From="Test1_Act2" Id="Test1_Tra11" Name="Transition" To="Test1_Act7"> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> | |
</ExtendedAttributes> | |
</Transition> | |
<Transition From="Test1_Act7" Id="Test1_Tra12" Name="Transition" To="Test1_Act6"> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/> | |
</ExtendedAttributes> | |
</Transition> | |
</Transitions> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="StartOfWorkflow" Value="admin;Test1_Act1;110;60;NOROUTING"/> | |
<ExtendedAttribute Name="EndOfWorkflow" Value="system;Test1_Act6;670;50;NOROUTING"/> | |
<ExtendedAttribute Name="ParticipantVisualOrder" Value="admin;system;"/> | |
</ExtendedAttributes> | |
</WorkflowProcess> | |
<WorkflowProcess AccessLevel="PRIVATE" Id="Sub1" Name="Test Sub Flow"> | |
<ProcessHeader DurationUnit="s"> | |
<Created>2004-03-26 21:34:07</Created> | |
<Limit>30</Limit> | |
</ProcessHeader> | |
<RedefinableHeader PublicationStatus="RELEASED"> | |
<Author>Andy Zeneski</Author> | |
<Version>1.0</Version> | |
<Responsibles> | |
<Responsible>admin</Responsible> | |
</Responsibles> | |
</RedefinableHeader> | |
<DataFields> | |
<DataField Id="message" IsArray="FALSE" Name="message"> | |
<DataType> | |
<BasicType Type="STRING"/> | |
</DataType> | |
<InitialValue>Sub-Flow Message!</InitialValue> | |
</DataField> | |
</DataFields> | |
<Activities> | |
<Activity Id="ofb_test_Wor1_Act1" Name="Generic"> | |
<Implementation> | |
<Tool Id="ofb_test_App1" Type="APPLICATION"> | |
<ActualParameters> | |
<ActualParameter>message</ActualParameter> | |
</ActualParameters> | |
</Tool> | |
</Implementation> | |
<Performer>system</Performer> | |
<StartMode> | |
<Automatic/> | |
</StartMode> | |
<FinishMode> | |
<Automatic/> | |
</FinishMode> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="ParticipantID" Value="system"/> | |
<ExtendedAttribute Name="XOffset" Value="220"/> | |
<ExtendedAttribute Name="YOffset" Value="50"/> | |
</ExtendedAttributes> | |
</Activity> | |
</Activities> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="StartOfWorkflow" Value="system;ofb_test_Wor1_Act1;110;50;NOROUTING"/> | |
<ExtendedAttribute Name="EndOfWorkflow" Value="system;ofb_test_Wor1_Act1;380;50;NOROUTING"/> | |
<ExtendedAttribute Name="ParticipantVisualOrder" Value="system;"/> | |
</ExtendedAttributes> | |
</WorkflowProcess> | |
</WorkflowProcesses> | |
<ExtendedAttributes> | |
<ExtendedAttribute Name="MadeBy" Value="JaWE"/> | |
<ExtendedAttribute Name="Version" Value="1.2"/> | |
<ExtendedAttribute Name="ActivitiesUserPropertyofb_test_UDP1" Value="message"> | |
<DataType> | |
<BasicType Type="STRING"/> | |
</DataType> | |
<Description>OPTIONAL</Description> | |
<InitialValue>Shark Workflow Test</InitialValue> | |
</ExtendedAttribute> | |
</ExtendedAttributes> | |
</Package> |