|
管理员好:
使用接口启动流程的时候 附件参数怎么弄呢?
就是说我用接口启动流程的时候要添加一个本地附件,这要怎么弄呀?
多谢多谢!
下面这个接口
: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() );
 |
|