blob: 9147dfa29a0e6d67564f9bf6dcc8a6e614204d89 [file] [log] [blame]
<?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.
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
<description>Workflow Component Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<!-- Workflow services -->
<service name="wfLimitInvoker" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="limitInvoker">
<description>Required service used the workflow engine to invoke limitService</description>
<attribute name="serviceName" type="String" mode="IN"/>
<attribute name="serviceContext" type="java.util.Map" mode="IN"/>
<attribute name="workEffortId" type="String" mode="IN"/>
</service>
<service name="wfGetActivityContext" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="getActivityContext">
<description>Returns the current context of the requested activity</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="activityContext" type="java.util.Map" mode="OUT"/>
</service>
<service name="wfAppendActivityContext" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="appendActivityContext">
<description>Appends the current context to the activity context</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="currentContext" type="java.util.Map" mode="IN"/>
</service>
<service name="wfActivateActivity" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="activateActivity">
<description>Attempt to initiate a workflow activity</description>
<attribute name="workEffortId" type="String" mode="IN"/>
</service>
<service name="wfCancelWorkflow" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="cancelWorkflow">
<description>Abort a workflow process</description>
<attribute name="workEffortId" type="String" mode="IN"/>
</service>
<service name="wfSuspendActivity" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="suspendActivity">
<description>Suspend a workflow activity</description>
<attribute name="workEffortId" type="String" mode="IN"/>
</service>
<service name="wfResumeActivity" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="resumeActivity">
<description>Resume a suspended activity</description>
<attribute name="workEffortId" type="String" mode="IN"/>
</service>
<service name="wfChangeActivityState" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="changeActivityState">
<description>Manually change the state of a workflow activity</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="newState" type="String" mode="IN"/>
</service>
<service name="wfAssignmentInterface" engine="interface" location="" invoke="">
<description>Interface service for workflow assignment services</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="partyId" type="String" mode="IN"/>
<attribute name="roleTypeId" type="String" mode="IN" optional="true"/>
<attribute name="fromDate" type="Timestamp" mode="IN"/>
</service>
<service name="wfAssignActivity" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="assignActivity">
<description>Assign a new party or role to a workflow activity</description>
<implements service="wfAssignmentInterface"/>
<attribute name="removeOldAssignments" type="String" mode="IN" optional="true"/>
</service>
<service name="wfAcceptAssignment" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="acceptAssignment">
<description>Accept a workflow user assignment</description>
<implements service="wfAssignmentInterface"/>
</service>
<service name="wfAcceptRoleAssignment" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="acceptRoleAssignment">
<description>Accept a workflow role assignment</description>
<implements service="wfAssignmentInterface"/>
</service>
<service name="wfCompleteAssignment" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="completeAssignment">
<description>Complete a workflow assignment</description>
<implements service="wfAssignmentInterface"/>
<attribute name="result" type="java.util.Map" mode="IN" optional="true"/>
</service>
<service name="wfDelegateAssignmentInterface" engine="interface" location="" invoke="">
<description>Interface service for assignment delegation services</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="fromPartyId" type="String" mode="IN"/>
<attribute name="fromRoleTypeId" type="String" mode="IN"/>
<attribute name="fromFromDate" type="Timestamp" mode="IN"/>
<attribute name="toPartyId" type="String" mode="IN"/>
<attribute name="toRoleTypeId" type="String" mode="IN"/>
<attribute name="toFromDate" type="Timestamp" mode="IN" optional="true"/>
</service>
<service name="wfDelegateAssignment" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="delegateAssignment">
<description>Delegate an assigned assignment to another party</description>
<implements service="wfDelegateAssignmentInterface"/>
</service>
<service name="wfDelegateAndAcceptAssignmet" engine="java"
location="org.ofbiz.workflow.client.WorkflowServices" invoke="delegateAcceptAssignment">
<description>Delegate an assigned assignment and accept</description>
<implements service="wfDelegateAssignmentInterface"/>
<attribute name="startActivity" type="Boolean" mode="IN" optional="true"/>
</service>
<service name="wfActivateApplication" engine="java"
location="org.ofbiz.workflow.WfApplicationServices" invoke="activateApplication">
<description>Activate a workflow assignment</description>
<attribute name="workEffortId" type="String" mode="IN"/>
<attribute name="applicationId" type="String" mode="OUT" optional="true"/>
</service>
<service name="wfGetApplicationContext" engine="java"
location="org.ofbiz.workflow.WfApplicationServices" invoke="getApplicationContext">
<description>Get the application Context</description>
<attribute name="applicationId" type="String" mode="IN"/>
<attribute name="applicationContext" type="java.util.Map" mode="OUT" optional="true"/>
</service>
<service name="wfCompleteApplication" engine="java"
location="org.ofbiz.workflow.WfApplicationServices" invoke="completeApplication">
<description>Complete a workflow assignment</description>
<attribute name="applicationId" type="String" mode="IN"/>
<attribute name="result" type="java.util.Map" mode="IN" optional="true"/>
</service>
</services>