加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Cordys 流程启动与结束调用了哪些WebService

发布时间:2020-12-16 22:46:04 所属栏目:安全 来源:网络整理
导读:(1):提交流程:? ExecuteProcess SOAP Request SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:Body ExecuteProcess type="" xmlns="http://schemas.cordys.com/bpm/execution/1.0" typedefinition/type receiverBusiness P


(1):提交流程:?

ExecuteProcess

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <ExecuteProcess type="" xmlns="http://schemas.cordys.com/bpm/execution/1.0">
            <type>definition</type>
            <receiver>Business Process Models/EmployeeRecruitmentProcess_vcmdemo10.bpm</receiver>
            <source>Run from Studio</source>
            <modelSpace>organization</modelSpace>
            <monitor activityMonitorLevel="" activityMonitoring="" level="">OFF</monitor>
            <crashRecovery>OFF</crashRecovery>
            <priority>1</priority>
            <message/>
        </ExecuteProcess>
    </SOAP:Body>
</SOAP:Envelope>

(2):获取所有InBox里面的所有 tasks

GetTasks

?


This method is used to retrieve all the tasks based on certain criteria.

<GetTasks xmlns="http://schemas.cordys.com/notification/workflow/1.0">
    <TaskIdentifiers>
        <TaskIdentifierType id="15d5a9e3-f7c3-4a44-99cb-7146f478616c" name="SalesOrder"/>
    </TaskIdentifiers>
    <Criteria>
        <Query>(Task.StartDate IS NULL OR Task.StartDate &amp;lt;=:sdate )  AND (Task.State =:tstate AND SalesOrder.Id like :id)
		</Query>
        <Parameters>
            <Parameter name="tstate" type="Task.State" value="CREATED"/>
            <Parameter name="id" type="SalesOrder.Id" value="%1%"/>
            <Parameter name="sdate" type="Task.StartDate" value="2008-12-31T08:25:45.45"/>
        </Parameters>
    </Criteria>
    <OrderBy>SalesOrder.Id</OrderBy>
    <AssignedBy>cn=npraveen,cn=organizational users,o=system,cn=cordys,cn=signfp1,o=vanenburg.com</AssignedBy>
    <Target type="worklist">d9a48178-592c-453a-8d69-d7e13ca2bd78</Target>
    <ShowNonWorkableItems>false</ShowNonWorkableItems>
    <cursor id="" maxRows="" numRows="" position=""/>
    <ReturnTaskData>true</ReturnTaskData>
</GetTasks>



(3):打开一个流程?

GetTask
This method is used to retrieve the task details based on the task ID.

<GetTask xmlns="http://schemas.cordys.com/notification/workflow/1.0"> <TaskId>005056C0-0008-11E0-EE96-BDEF09C61FD0</TaskId> <Target type="user">cn=JDoe,o=vanenburg.com</Target> <RetrievePossibleActions>false</RetrievePossibleActions> <ReturnTaskData>true</ReturnTaskData> </GetTask>

(4):提交一个流程

PerformTaskAction

This method is used to perform an action on the task.

<PerformTaskAction xmlns="http://schemas.cordys.com/notification/workflow/1.0"> <TaskId>{7F806D59-D288-4C4D-975F-52B7BF42DBAC}</TaskId> <Action>START</Action> <Memo>Sample Memo</Memo> <Data/> </PerformTaskAction>

总结 :对Inbox 的task的操作 API 请参考 ? ? ? Notification APIs


This section contains the following SOAP APIs:?

  • AssignTask
  • ClaimTask
  • DelegateTask
  • GetAllWorklistsForUser
  • GetNotification
  • GetNotifications
  • GetPossibleActionsForTask
  • GetTask
  • GetTasks
  • GetUsersByWorklist
  • HumanInteraction
  • PerformTaskAction
  • SendNotification
  • TransferTask
  • UpdateMemo
  • ViewMemosByTask
  • SetAutoDelegationsForUser
  • GetAutoDelegatesForUser
  • DeleteAutoDelegationsForUser
  • SearchHumanTasks
  • GetTaskIdentifiers

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!