使用接口 启动流程的流程的时候 附件参数怎么弄。
管理员好:使用接口启动流程的时候 附件参数怎么弄呢?
就是说我用接口启动流程的时候要添加一个本地附件,这要怎么弄呀?
多谢多谢!
下面这个接口
:20020/x_processplatform_service_processing/jest/index.html#
var data = {};
data["application"] = "参数";
data["process"] = "参数";
data["identity"] = "参数";
data["title"] = "参数";
data["data"] = {"参数1":"value1","参数2":"value2"};
data["attachmentList"] = [{"参数1":"value1","参数2":"value2"}];
data["attachmentSoftCopy"] = "参数";
data["processing"] = "参数";
var string = JSON.stringify(data);
var apps = this.applications;
var serviceRoot = "x_processplatform_service_processing"; var path = "work";
var resp = apps.postQuery( serviceRoot, path , string); var json = JSON.parse( resp.toString() );
https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/fe3081c2-1c86-49dd-8af2-be0f97c3e96e/download/stream 您好:
但是前提是要上传附件。处理起来比较麻烦
如果你一个流程中需求启动另外一个流程,建议用这样的方式
https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/b272c0d3-cdea-4261-90e4-30a94d0f3e26/download/stream
页:
[1]