package request type LaunchWorkflowPrepareParams struct { WorkflowTemplateID string `json:"workflowTemplateId" binding:"required" assign:"toField:WorkflowTemplateID"` CreateUserID string `json:"createUserId" binding:"required" assign:"toField:CreateUserID"` TenantID string `json:"tenantId" binding:"required" assign:"toField:TenantID"` } type LaunchWorkflowTemplatePrepareParams struct { StructureRootID string `json:"structureRootId" binding:"required"` CreateUserID string `json:"createUserId" binding:"required" assign:"toField:CreateUserID"` TenantID string `json:"tenantId" binding:"required" assign:"toField:TenantID"` } type StartWorkflowTemplateRequest struct { WorkflowTemplateName string `json:"workflowTemplateName"` StructureRootID string `json:"structureRootId"` Process string `json:"process"` LaunchUserName string `json:"launchUserName"` Matter string `json:"matter"` BusinessEntityObject string `json:"businessEntityObject"` BusinessObject string `json:"businessObject"` UserStructureID string `json:"userStructureId"` Data interface{} `json:"data"` CreateUserID string `json:"createUserId"` TenantID string `json:"tenantId"` } type StartWorkflowRequest struct { WorkflowTemplateID string `json:"workflowTemplateId"` LaunchUserName string `json:"launchUserName"` Matter string `json:"matter"` BusinessEntityObject string `json:"businessEntityObject"` BusinessObject string `json:"businessObject"` UserStructureID string `json:"userStructureId"` CreateUserID string `json:"createUserId"` TenantID string `json:"tenantId"` ChoiceApproveInfos map[string]any `json:"-"` } type StartWorkFlowByBusinessTypeRequest struct { BusinessType string `json:"businessType"` LaunchUserName string `json:"launchUserName"` Matter string `json:"matter"` Data interface{} `json:"data"` CreateUserID string `json:"createUserId"` TenantID string `json:"tenantId"` } type StartWorkFlowWithoutPrepareByBusinessTypeRequest struct { StartWorkFlowByBusinessTypeRequest UserStructureID string `json:"userStructureId"` ChoiceApproveInfos map[string]any `json:"choiceApproveInfos"` }