88 lines
2.3 KiB
JSON
88 lines
2.3 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": "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": "创建待办成功"
|
|
}
|
|
]
|
|
} |