{ "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": {} }, { "Name": "流程任务ID", "DataValidationInfo": {} } ] } ], "Commands": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", "ID": "d56aeab62d23443d8e533175920d7d0f" }, { "$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.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "钉钉待办储存表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": [ { "BindingInfo": { "TableName": "钉钉待办储存表", "ColumnName": "流程任务ID", "GUID": "6f0a1a3a-5f1c-4d0c-bc94-19e3b1b79372" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=流程任务ID" } }, { "BindingInfo": { "TableName": "钉钉待办储存表", "ColumnName": "钉钉待办ID", "GUID": "bf657d32-31b7-4e44-adc3-0ab22132aa0a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=返回结果.Id" } } ] }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "创建待办成功", "CustomReturns": [ { "ReturnPropertyName": "TaskID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=返回结果.Id" } } ] } ], "ReturnProperties": [ { "Name": "TaskID" } ] }