欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI

页面树结构

欢迎使用普元文档库

Skip to end of metadata
Go to start of metadata

具体示例以com.primeton.bps.restful.service.IProcessInstManagerService下的createAndStartSetRelativeDataByTranscationSpan(String userId, String processDefName, String processInstName, String processInstDesc, boolean transcationSpan, Map<String, Object> relativeData)方法封装为例。具体实现过程如附件基于Platform7.6.5_自定义开发REST接口手册.docx

需要说明的是:在自定义开发bps rest中使用的解析json的包是 import com.alibaba.fastjson.JSONObject;

                        关于rest中传入的relativeData,使用 Map<String, Object> mapRelativeData = JSONObject.parseObject(relativeData);
                       将mapRelativeData  这个传入到bps  java api中即可