暂无描述
Authorization: Bearer ********************
{ "appId": "744", "version": 199, "config": { "flowNodeId": "669e8777-f683-4db7-bc89-5c7136cb82c6", "flowNodeName": "申请人", "nodeType": 8, "childNode": { "flowNodeId": "23b4f904-dce0-46b1-9188-367bea5bd04c", "flowNodeName": "子分支", "nodeType": 6, "childNode": { "flowNodeId": "f27a06f7-be79-4cbc-809d-c091fd1cd184", "flowNodeName": "Robot-自动添加数据", "nodeType": 4, "childNode": null, "dealConfig": { "applyType": 1, "forceLogin": false, "dealUsers": { "user": [], "department": [], "role": [], "dynamic": [ { "fid": "createBy", "fieldName": "申请人", "dynamicType": 1 } ], "includeSubDepartment": false }, "chargeType": 1, "auditType": 1, "stepConfig": { "stepStartUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "endType": 1, "dynamicEndLevel": 1, "specifiedEndLevel": 1, "deduplication": true, "agentApproval": false, "multiLeaderType": 1 }, "emptyUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "fieldAuth": null, "basicConfig": { "needPassword": false, "applyPassword": "", "applyNum": 0, "applyNumLimit": false, "canImport": false, "canRevoke": false, "canRevert": false, "revertConfig": { "recommitType": 1, "scopeType": 1, "revertScope": null }, "collectWechat": false, "showLog": true, "showRobotLog": false, "feedback": true, "canTransfer": true, "canAssistTransfer": false, "transferConfig": { "transferType": 1, "transferUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "transferAssistConfig": { "transferType": null, "transferUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "canReject": true, "canComment": true, "canCustomizeBtn": false, "btnText": { "submit": "", "transfer": "", "approve": "", "reject": "", "revert": "" }, "isStay": false, "showUrge": false, "canReapply": true }, "advancedConfig": { "dataSource": {}, "showChart": true, "chartConfig": { "chartIds": null, "limitType": 1 }, "printTpl": null, "submitCheckType": 1, "submitCheckConditions": null, "canSign": false, "multiDeal": false, "canOnlinePay": false, "onlinePayConfig": { "payMethod": "", "payAmountFid": "", "payContentFid": "" }, "showPayInfo": false, "timeoutStatus": false, "timeoutConfig": { "triggerType": 1, "triggerCompareUnit": 1, "triggerTime": 0, "triggerFid": "", "triggerCompareType": 1, "triggerNoticeTime": "", "triggerNoticeUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "autoCommit": false, "canWarning": false, "warningTimeUnit": 1, "warningTime": 0, "warningNoticeUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } } }, "robotConfig": { "conditionHasSub": false, "ruleHasSub": null, "robotType": 1, "judge": [], "relatedAppId": 950, "relatedAppName": "请假加班流水", "addRelation": [ { "fid": "US0mFJiVd9pRHFq5xk91H", "fieldName": "日期", "typeId": 5, "judgeType": 1, "judgeValue": { "value": "", "id": null, "userId": 0, "otherInfo": "", "
curl --location --request PUT 'https://api.tolink.cloud/flowNode/update' \ --header 'Content-Type: application/json' \ --data-raw '{ "appId": "744", "version": 199, "config": { "flowNodeId": "669e8777-f683-4db7-bc89-5c7136cb82c6", "flowNodeName": "申请人", "nodeType": 8, "childNode": { "flowNodeId": "23b4f904-dce0-46b1-9188-367bea5bd04c", "flowNodeName": "子分支", "nodeType": 6, "childNode": { "flowNodeId": "f27a06f7-be79-4cbc-809d-c091fd1cd184", "flowNodeName": "Robot-自动添加数据", "nodeType": 4, "childNode": null, "dealConfig": { "applyType": 1, "forceLogin": false, "dealUsers": { "user": [], "department": [], "role": [], "dynamic": [ { "fid": "createBy", "fieldName": "申请人", "dynamicType": 1 } ], "includeSubDepartment": false }, "chargeType": 1, "auditType": 1, "stepConfig": { "stepStartUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "endType": 1, "dynamicEndLevel": 1, "specifiedEndLevel": 1, "deduplication": true, "agentApproval": false, "multiLeaderType": 1 }, "emptyUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "fieldAuth": null, "basicConfig": { "needPassword": false, "applyPassword": "", "applyNum": 0, "applyNumLimit": false, "canImport": false, "canRevoke": false, "canRevert": false, "revertConfig": { "recommitType": 1, "scopeType": 1, "revertScope": null }, "collectWechat": false, "showLog": true, "showRobotLog": false, "feedback": true, "canTransfer": true, "canAssistTransfer": false, "transferConfig": { "transferType": 1, "transferUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "transferAssistConfig": { "transferType": null, "transferUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "canReject": true, "canComment": true, "canCustomizeBtn": false, "btnText": { "submit": "", "transfer": "", "approve": "", "reject": "", "revert": "" }, "isStay": false, "showUrge": false, "canReapply": true }, "advancedConfig": { "dataSource": {}, "showChart": true, "chartConfig": { "chartIds": null, "limitType": 1 }, "printTpl": null, "submitCheckType": 1, "submitCheckConditions": null, "canSign": false, "multiDeal": false, "canOnlinePay": false, "onlinePayConfig": { "payMethod": "", "payAmountFid": "", "payContentFid": "" }, "showPayInfo": false, "timeoutStatus": false, "timeoutConfig": { "triggerType": 1, "triggerCompareUnit": 1, "triggerTime": 0, "triggerFid": "", "triggerCompareType": 1, "triggerNoticeTime": "", "triggerNoticeUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "autoCommit": false, "canWarning": false, "warningTimeUnit": 1, "warningTime": 0, "warningNoticeUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } } }, "robotConfig": { "conditionHasSub": false, "ruleHasSub": null, "robotType": 1, "judge": [], "relatedAppId": 950, "relatedAppName": "请假加班流水", "addRelation": [ { "fid": "US0mFJiVd9pRHFq5xk91H", "fieldName": "日期", "typeId": 5, "judgeType": 1, "judgeValue": {
{
"code": 0,
"data": {
"flowNodeId": 6,
"flowNodeName": "robot-2",
"nodeType": 4,
"childNode": null,
"dealConfig": {
"applyType": 1,
"forceLogin": false,
"dealUsers": {
"user": [
{
"id": 0,
"name": "",
"mobile": "",
"avatar": ""
}
],
"department": [
{
"id": 22,
"icon": "",
"name": ""
}
],
"role": [
{
"id": 5,
"icon": "",
"name": ""
}
],
"dynamic": [
{
"fid": "createBy",
"fieldName": "申请人",
"dynamicType": 1
}
],
"includeSubDepartment": true
},
"chargeType": 2,
"auditType": 1,
"stepConfig": {
"stepStartUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [
{
"fid": "",
"fieldName": "",
"dynamicType": 1
}
],
"includeSubDepartment": false
},
"endType": 1,
"dynamicEndLevel": 2,
"specifiedEndLevel": 2,
"deduplication": false,
"multiLeaderType": 1
},
"emptyUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"fieldAuth": [
{
"fid": "us-rMzyLYCuiOQ1JMCTxt",
"label": "",
"auth": 3,
"addRow": false,
"beingFold": false,
"deleteRow": false,
"editRow": false,
"shrink": false,
"subFields": null
}
],
"basicConfig": {
"needPassword": false,
"applyPassword": "",
"applyNum": 1,
"applyNumLimit": false,
"canImport": false,
"canRevoke": false,
"canRevert": false,
"revertConfig": {
"recommitType": 1,
"scopeType": 1,
"revertScope": [
{
"flowNodeId": 0,
"flowNodeName": ""
}
]
},
"collectWechat": false,
"showLog": false,
"showRobotLog": false,
"feedback": false,
"canTransfer": false,
"transferConfig": {
"transferType": 1,
"transferUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"canReject": false,
"canComment": false,
"canCustomizeBtn": false,
"btnText": {
"submit": "",
"transfer": "",
"approve": "",
"reject": "",
"revert": ""
}
},
"advancedConfig": {
"dataSource": {},
"showChart": false,
"chartConfig": {
"chartIds": null,
"limitType": 1
},
"printTpl": null,
"submitCheckType": 2,
"submitCheckConditions": [
{
"formula": "SUM(#cid_0ICLTqqSFIlMsOTTQRzsN$,2)>22",
"message": "写的不对,重来"
}
],
"canSign": false,
"multiDeal": false,
"canOnlinePay": false,
"onlinePayConfig": {
"payMethod": "",
"payAmountFid": "",
"payContentFid": ""
},
"showPayInfo": false,
"timeoutStatus": true,
"timeoutConfig": {
"triggerType": 1,
"triggerCompareUnit": 3,
"triggerTime": 1,
"triggerFid": "",
"triggerCompareType": "",
"triggerNoticeTime": "",
"triggerNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
},
"autoCommit": false,
"canWarning": false,
"warningTimeUnit": 1,
"warningTime": 1,
"warningNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
}
},
"robotConfig": {
"robotType": 1,
"judge": [
[
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
]
],
"relatedAppId": 2,
"relatedAppName": "应用名称",
"addRelation": [
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
],
"updateRelation": [
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
],
"updateMissAdd": true
},
"hookConfig": {},
"conditionNodes": null,
"conditionSort": 1,
"judges": [
[
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
]
]
},
"msg": "success"
}