泛微OA工作流WebService接口使用说明

上传人:m**** 文档编号:558466595 上传时间:2023-01-16 格式:DOCX 页数:15 大小:22.20KB
返回 下载 相关 举报
泛微OA工作流WebService接口使用说明_第1页
第1页 / 共15页
泛微OA工作流WebService接口使用说明_第2页
第2页 / 共15页
泛微OA工作流WebService接口使用说明_第3页
第3页 / 共15页
泛微OA工作流WebService接口使用说明_第4页
第4页 / 共15页
泛微OA工作流WebService接口使用说明_第5页
第5页 / 共15页
点击查看更多>>
资源描述

《泛微OA工作流WebService接口使用说明》由会员分享,可在线阅读,更多相关《泛微OA工作流WebService接口使用说明(15页珍藏版)》请在金锄头文库上搜索。

1、工 作 流 W e b S e r v i c e 接 口 使 用 说 明一、检查部署是否成功:输入下面的地址换成实际的地址:8060实际的端口号/services/,界面中有如下服务即可: 采用Web Serverice技术进行协同系统和业务系统进行数据交互,由协同系 统方开发实现Web Serverice服务,业务系统方需在本地实现Web Serverice 本地代理来进行调用;协同系统方需提供的服务接口如下:1、流程创建接口2、流程流转控制接口提供流程提交,退回和转发控制接口3、需业务系统处理的任务列表根据用户id和流程id获取该人员需要业务系统处理的任务列表,如果需 要获取表单的数据在

2、通过reqestid调用获取表单数据接口4、获取表单数据接口根据协同系统中流程主键requestid获取表单中所有数据5、已归档任务列表根据创建人id和流程id获取已经归档的任务列表接口名称参数说明返回值功能描述创建新流程:WorkflowRequestlnfowri: 请求信息对象userld:用户idSt ring:新流程的 requestid如果小于0表示 失败-1:创建流程失败 -2:用户没有流程 创建权限-3:创建流程基本根据请求信息对 象创建一条新的 流程,请求信息 对象中需包含创 建人、创建流程 id和表单的数 据信息失败 -4:保存表单主表 信息失败-5:更新紧急程度 失败-6

3、:流程操作者失 败-7:流转至下一节 点失败-8:节点附加操作 失败代办数量:getToDoWorkflowRequestCou ntint userid: 用户idString conditions:查询流程的条件,为字符串数组int:代办的数量返回满足条件的 用户可以得到的 代办数目代办列表:getToDoWorkflowRequestLis tint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userid: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowReque

4、st info :请求基本 信息列表根据参数条件获 取需处理任务列 表排除创建节点任 务归档数目:getRejectRequestCountint userid: 用户idString conditions:查询流程的条件,为字符串数组int:归档的数量归档任务:getProcessedRequestint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userid: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest info :请求基本 信息列表根据参数条件获

5、 取归档任务列表表单数据: getRequestint requestid: 请求 requestidRequestinfo: 请求信息对象根据流程 requestid 获得 表单数据流程提交:submitWorkflowRequestWorkflowRequestlnfo request: 请求信息对象 int requestid: 请求id int userid: 提交人IDString type: 类型String remark: 提交意见Boolean: True成功 False失败流程提交流程退回:nextNodeByRejectint requestid: 请求idint user

6、id: 提交人ID String remark: 退回意见Boolean: True成功 False失败流程退回流程转发: forwardWorkflowReques tint requestid: 请求idString forwardoperator: 接收人id多个用逗号分隔 String remark: 转发意见String userId: 用户用户idString clientip: 客户端ip地址Boolean: True成功 False失败流程转发搜索所有可用流程数量: getAllWorkflowRequestC ountInt userid: 用户idString condit

7、ions: 查询条件字符串数组Int 返回数目所有可用流程列表getAllWorkflowRequestL istint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userId: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest Info :请求基本 信息列表根据参数条件获 取可用任务列表得到所有抄送的流程数量 getCCWorkflowReques tCo untInt userid: 用户idString conditions: 查询条件字符串数组Int

8、 返回数目得到所有抄送流程列表 getCCWorkflowRequestLi stint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userid: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest Info :请求基本 信息列表根据参数条件获 得抄送流程列表得到可创建的工作流数量 getCreateWorkflowCountInt userid: 用户idString conditions: 查询条件字符串数组Int 返回数目取得可创建的工作流列表 getC

9、reateWorkflowListint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userid: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowBaseInf o :流程基本信息 列表根据参数条件获 得可创建流程列 表取得可创建的工作流类型 数量getCreateWorkflowTypeCountInt userid: 用户idString conditions: 查询条件字符串数组Int可创建的工作流 类型数量取得可创建的工作流类型 列表getCreateWorkf

10、lowTypeL istint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userid: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowBaseInf o:工作流基本信息数组根据参数条件获 得可创建的流程 类型列表取得创建流程的相关信息 getCreateWorkflowReque stlnfoInt workflowid: 流程idInt userid: 用户idWorkflowRequestInfo:流程信息对象取得已办工作流类型数量 getHendledWorkf

11、lowRequ estCountInt userid: 用户idString conditions: 查询条件字符串数组In t:可创建流程数量取得已办流程列表getHendledWorkflowRequ estListint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userId: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest Info :请求基本 信息列表根据参数条件获 得已办流程列表取得已办工作流类型数量 getMyWorkflowRequestC

12、o untInt userid: 用户idString conditions: 查询条件字符串数组In t:我的请求流程数量取得已办流程列表getMyWorkflowRequestLi stint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userId: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest Info :请求基本 信息列表根据参数条件获 得我的请求列表取得流程new标记 getWorkflowNewFlagString requestIds 多个

13、流程id组成的数组String ResourceId 人力资源idString:结果数组,0或者1组成的数组取得流程详细信息 getWorkflowRequestInt requestid 请求idInt userid 用户idInt fromrequestid 从相关id的工作流过来WorkflowRequestInfo:流程信息写入流程查看日志 writeWorkflowReadFlagString requested 请求idString userId 用户id无返回值取得归档工作流类型数量 getProcessedWorkflowRe questCountInt userid: 用户i

14、dString conditions: 查询条件字符串数组In t:归档流程数量取得归档流程列表getProcessedWorkflowRequestListint pageNo: 当前页数 int pageSize: 每页的分页数量 int recordCount: 总行数int userId: 用户idString conditions: 查询流程的条件,为字符串数组 类型WorkflowRequest Info :请求基本 信息列表根据参数条件获 得归档请求列表接口对象说明:1WorkflowRequestInfo 工作流请求信息 /请求ID/private String requestId;/请求标题/private String requestName;/请求重要级别/private String requestLevel;短信提醒/private String messageType;/流程类型/private WorkflowBaseInfo workflowBaseInfo;/当前节点名称/private String currentNodeName;/当前节点Id/private String currentNodeId;/流程状态/private String status;/创建者private String creatorId;/创建时间/pr

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号