125 lines
3.5 KiB
JSON
125 lines
3.5 KiB
JSON
{
|
|
"Name": "Basic创建钉钉待办",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
|
"Parameters": [
|
|
{
|
|
"Name": "创建人",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "业务ID",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "标题",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "备注",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "截止时间",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "执行者",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "参与者",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "APPURL",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "PCURL",
|
|
"DataValidationInfo": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "当前用户",
|
|
"ParameterValue": "%CurrentUser%",
|
|
"ID": "332fda17b08943d2a4d91637aaff2c69"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "生成创建人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(ISBLANK(创建人),当前用户,创建人)"
|
|
},
|
|
"ID": "c44d72489bed4ccfaf113f5119fd6603"
|
|
},
|
|
{
|
|
"$type": "DingTalkPlugin.CreateTodoTask, DingTalkPlugin",
|
|
"CreatorId": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成创建人"
|
|
},
|
|
"SourceId": {
|
|
"$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": "=参与者"
|
|
},
|
|
"AppUrl": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=APPURL"
|
|
},
|
|
"PcUrl": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=PCURL"
|
|
},
|
|
"IsOnlyShowExecutor": true,
|
|
"Priority": "20",
|
|
"Result": "返回结果"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "创建待办成功",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "TaskID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.Id"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "TaskID"
|
|
}
|
|
]
|
|
} |