Files
clue/ServerCommands/钉钉/删除钉钉待办.json

113 lines
3.7 KiB
JSON

{
"Name": "删除钉钉待办",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
]
}
]
}
},
"Parameters": [
{
"Name": "流程任务ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "taskab0ff3dde0de6478627eb6d97c064594"
}
],
"InvokeTriggerTestData": {
"UserName": "shamus"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "待办记录",
"TableValue": {
"TableName": "钉钉待办储存表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "48606df6-0579-434c-85f9-03793574b632",
"BindingInfo": {
"TableName": "钉钉待办储存表",
"ColumnName": "钉钉待办ID",
"GUID": "973c28dc-4eeb-44f4-899f-fe00f976df23"
},
"ColumnName": "钉钉待办ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "钉钉待办储存表",
"ColumnName": "流程任务ID",
"GUID": "b6cae1ef-8c33-4eee-84bc-08a06a979269"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=流程任务ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "0c180a460e7640809c0c103674589b9e"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待办记录"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "DingTalkPlugin.DeleteTodoTask, DingTalkPlugin",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待办记录.钉钉待办ID"
},
"Result": "返回结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "待办更新成功"
}
],
"ID": "912aa7f3-23ca-41b2-bcfb-d3d25f4865eb"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "待办删除成功"
}
]
}