workflow.go 826 B

123456789101112131415161718192021222324
  1. package request
  2. type WorkflowBusinessObject struct {
  3. BusinessType string `json:"businessType"`
  4. BusinessObject interface{} `json:"businessObject"`
  5. }
  6. type StartWorkflowRequest struct {
  7. WorkflowTemplateID string `json:"workflowTemplateId"`
  8. LaunchUserName string `json:"launchUserName"`
  9. Matter string `json:"matter"`
  10. BusinessObject string `json:"businessObject"`
  11. CreateUserID string `json:"createUserId"`
  12. TenantID string `json:"tenantId"`
  13. }
  14. type StartWorkFlowByBusinessTypeRequest struct {
  15. BusinessType string `json:"businessType"`
  16. LaunchUserName string `json:"launchUserName"`
  17. Matter string `json:"matter"`
  18. Data interface{} `json:"data"`
  19. CreateUserID string `json:"createUserId"`
  20. TenantID string `json:"tenantId"`
  21. }