{"Message":"增加批量终止流程任务功能","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/开发测试"},{"State":1,"Type":1,"Name":"PCPage/任务工时统计"},{"State":3,"Type":15,"Name":"ServerCommand/批量终止流程任务"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-10-16 09:20:08 +08:00
parent 3e42adf474
commit 1d8fa6f3fd
5 changed files with 640 additions and 50 deletions

View File

@@ -0,0 +1,97 @@
{
"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
}
},
{
"Name": "终止原因",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"Operation": 17,
"OperationParamaterAName": ",",
"OperationParamaterBName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID字符串"
},
"OutParamaterName": "ID数组"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID数组"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.ProcessTaskCommand, ServerDesignerCommon",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item"
},
"TaskActionType": 700
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "完成"
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
}
}
]
}