RoadFlow的流程设置参数保存到一个json字符串里,json格式如下:
{
//流程id
"id": "257629118586949",
//流程管理人员,RoadFlow组织架构字符串,多个逗号分隔。
"manager": "u_172355561286672",
//流程实例管理人员
"instanceManager": "u_172355561286672",
//流程所属分类
"type": [
"170445371133288"
],
//标识字段设置
"titleField": {
//对应数据库连接
"link": "",
//要标识的表
"table": "",
//表主键
"primaryKey": "",
//要标识的字段
"field": "",
//标识值,当流程审批完成后要更新标识字段的值
"value": "",
//流程审批完成后事件
"eventCompleted": "",
//流程终止后事件
"eventStop": "",
//流程实例删除后事件
"eventDelete":"",
},
//流程名称
"name": "TEST-8",
//流程对应的数据连接
"databases": [
{
"index": 0,
//连接id,100000000000000表示和系统一样的连接
"link": "100000000000000",
//连接名称
"name": "系统连接",
//数据表
"table": "rf_form_test",
//主键
"primaryKey": "id"
}
],
//流程步骤
"steps": [
{
//步骤id
"id": "257629737345093",
//步骤类型 normal-常规步骤 subflow-子流程步骤
"type": "normal",
//步骤名称
"name": "步骤1",
//步骤坐标
"position": {
//x坐标
"x": 10,
//y坐标
"y": 50,
//宽度
"width": 108,
//高度
"height": 50
},
//意见显示,是否在表单最后显示历史审批意见
"opinionDisplay": true,
//超期提醒
"expiredPrompt": false,
//签章类型
"signatureType": "0",
//工时(天)
"workTime": "",
"limitTime": "",
"otherTime": "",
//是否归档
"archives": false,
"archivesParams": "",
//步骤备注说明
"note": "",
//是否将表单数据同步到表
"dataToDb": true,
//步骤策略设置
"behavior": {
"flowType": "0",
"hanlderModel": "0",
"backModel": "1",
"countersignature": "0",
"backType": "0"
},
//步骤抄送设置
"copyFor": {
"time": 0
},
//步骤按钮
"buttons": [
{
"id": "171141396836433",
"sort": 5,
"showTitle": ""
},
],
//步骤数据字段设置
"fieldStatus": [],
//步骤事件设置
"event": {},
//子流程步骤设置
"subflow": {},
//步骤表单分类
"formType": [
"170445370793549"
],
//步骤表单id
"formId": "257628397912133"
},
],
//步骤之间连线
"lines": [
{
//连线id
"id": "257631105876037",
//连线来源步骤id
"from": "257629737345093",
//连线到步骤id
"to": "257630628204613",
//线上条件自定义方法
"customMethod": "",
//线上条件sql
"sql": "",
"noaccordMsg": "",
//连线标签
"text": "",
//连续类型 直线或折线
"lineType": 0
}
]
}
联系QQ:493501010电话:136 0832 5512(微信同号)邮箱:road@roadflow.net
Copyright 2014 - 2024 重庆天知软件技术有限公司 版权所有
|