Files
clue/ServerCommands/钉钉/Basic更新待办.json

134 lines
4.0 KiB
JSON

{
"Name": "Basic更新待办",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "待办ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "task7440b0746dc8b4151d0fdf80da3b10ea"
},
{
"Name": "标题",
"DataValidationInfo": {}
},
{
"Name": "备注",
"DataValidationInfo": {}
},
{
"Name": "截止时间",
"DataValidationInfo": {}
},
{
"Name": "执行者",
"DataValidationInfo": {}
},
{
"Name": "参与者",
"DataValidationInfo": {}
},
{
"Name": "是否完成",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "1"
}
],
"InvokeTriggerTestData": {
"UserName": "hai"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "DingTalkPlugin.UpdateTodoTask, DingTalkPlugin",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待办ID"
},
"Subject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=标题"
},
"Description": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=备注"
},
"DueTime": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=截止时间"
},
"ExecutorIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行者"
},
"ParticipantIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与者"
},
"Done": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否完成"
},
"Override": "0",
"Result": "返回结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "创建待办成功"
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "日志表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "标题",
"GUID": "9e8ad30e-a757-4531-9695-50503fea8917"
},
"Value": "更新钉钉待办"
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "内容",
"GUID": "64bbe57b-735f-434c-b6dd-e2c85a8ba922"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "类型",
"GUID": "3d5fc62a-4c0e-45b1-8032-997d527eccba"
},
"Value": "错误"
}
]
}
]
}
}
]
}