Documentation ¶
Index ¶
- Constants
- type AssignTaskCmd
- type ClaimTaskCmd
- type CompleteCmd
- type DeploymentCmd
- type DiffActivity
- type EvaluateConditionalEventsCmd
- type EvaluateConditionalEventsCmdOptions
- type GetCurrentTasksByUserCmd
- type GetDeploymentResourceCmd
- type GetIdentityLinksForProcessInstanceCmd
- type GetNextFormButtonsCmd
- type GetProcessDefinitionCmd
- type GetProcessStatusCmd
- type GetProcessViewCmd
- type GetRecallableActivitiesCmd
- type GetTaskCmd
- type MoveActivityCmd
- type ProcessMigrateCmd
- type ProcessViewDTO
- type SelectOption
- type SelectOptions
- type StartProcessInstanceByKeyCmd
- func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Context() context.Context
- func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Execute(ctx engine.Context) (interface{}, error)
- func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) IsTransactional() bool
- func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Start(ctx engine.Context) (entitymanager.ExecutionEntity, error)
- type UserTaskFormButton
Constants ¶
View Source
const MODEL_FORM_SEPARATOR = "."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignTaskCmd ¶
type AssignTaskCmd struct { taskcmd.NeedsActiveTaskCmd UserId *string }
func NewAssignTaskCmd ¶
func (AssignTaskCmd) Context ¶
func (assignTaskCmd AssignTaskCmd) Context() context.Context
func (AssignTaskCmd) TaskExecute ¶
func (assignTaskCmd AssignTaskCmd) TaskExecute(commandContext engine.Context, taskEntity entitymanager.TaskEntity) (interface{}, error)
type ClaimTaskCmd ¶
type ClaimTaskCmd struct { taskcmd.NeedsActiveTaskCmd UserId *string }
func (ClaimTaskCmd) Context ¶
func (claimTaskCmd ClaimTaskCmd) Context() context.Context
func (ClaimTaskCmd) TaskExecute ¶
func (claimTaskCmd ClaimTaskCmd) TaskExecute(commandContext engine.Context, taskEntity entitymanager.TaskEntity) (interface{}, error)
type CompleteCmd ¶
type CompleteCmd struct { taskcmd.NeedsActiveTaskCmd Variables map[string]interface{} UserId *string CurrentTask delegate.FlowElement }
func NewCompleteCmd ¶
func (CompleteCmd) TaskExecute ¶
func (completeCmd CompleteCmd) TaskExecute(commandContext engine.Context, entity entitymanager.TaskEntity) (interface{}, error)
type DeploymentCmd ¶
type DeploymentCmd struct { Name string Key string TenantId string Bytes []byte Ctx context.Context Transactional bool }
func (DeploymentCmd) Context ¶
func (receiver DeploymentCmd) Context() context.Context
func (DeploymentCmd) Execute ¶
func (receiver DeploymentCmd) Execute(ctx engine.Context) (interface{}, error)
func (DeploymentCmd) IsTransactional ¶
func (receiver DeploymentCmd) IsTransactional() bool
type DiffActivity ¶
type EvaluateConditionalEventsCmd ¶
type EvaluateConditionalEventsCmd struct { executioncmd.NeedsActiveExecutionCmd ProcessVariables map[string]any }
func NewEvaluateConditionalEventsCmd ¶
func NewEvaluateConditionalEventsCmd(executionId string, options ...executioncmd.Options) EvaluateConditionalEventsCmd
func (EvaluateConditionalEventsCmd) InternalExecute ¶
func (evaluateConditionalEventsCmd EvaluateConditionalEventsCmd) InternalExecute(CommandContext engine.Context, executionEntity delegate.DelegateExecution) (interface{}, error)
type EvaluateConditionalEventsCmdOptions ¶
type EvaluateConditionalEventsCmdOptions func(*EvaluateConditionalEventsCmd)
func WithProcessVariables ¶
func WithProcessVariables(processVariables map[string]any) EvaluateConditionalEventsCmdOptions
type GetCurrentTasksByUserCmd ¶
type GetCurrentTasksByUserCmd struct { Ctx context.Context ProcessInstanceId string UserId *string Groups []string Transactional bool }
func (GetCurrentTasksByUserCmd) Context ¶
func (g GetCurrentTasksByUserCmd) Context() context.Context
func (GetCurrentTasksByUserCmd) Execute ¶
func (g GetCurrentTasksByUserCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetCurrentTasksByUserCmd) IsTransactional ¶
func (g GetCurrentTasksByUserCmd) IsTransactional() bool
type GetDeploymentResourceCmd ¶
type GetDeploymentResourceCmd struct { DeploymentId string ProcessDefinitionId string ResourceName string Ctx context.Context Transactional bool }
func (GetDeploymentResourceCmd) Context ¶
func (getDeploymentResourceCmd GetDeploymentResourceCmd) Context() context.Context
func (GetDeploymentResourceCmd) Execute ¶
func (getDeploymentResourceCmd GetDeploymentResourceCmd) Execute(ctx engine.Context) (interface{}, error)
func (GetDeploymentResourceCmd) IsTransactional ¶
func (getDeploymentResourceCmd GetDeploymentResourceCmd) IsTransactional() bool
type GetIdentityLinksForProcessInstanceCmd ¶
type GetIdentityLinksForProcessInstanceCmd struct { ProcessInstanceId string Ctx context.Context Transactional bool }
func (GetIdentityLinksForProcessInstanceCmd) Context ¶
func (g GetIdentityLinksForProcessInstanceCmd) Context() context.Context
func (GetIdentityLinksForProcessInstanceCmd) Execute ¶
func (g GetIdentityLinksForProcessInstanceCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetIdentityLinksForProcessInstanceCmd) IsTransactional ¶
func (g GetIdentityLinksForProcessInstanceCmd) IsTransactional() bool
type GetNextFormButtonsCmd ¶
type GetNextFormButtonsCmd struct { Ctx context.Context ProcessDefinitionId string TaskDefinitionKey string Transactional bool }
func (GetNextFormButtonsCmd) Context ¶
func (g GetNextFormButtonsCmd) Context() context.Context
func (GetNextFormButtonsCmd) Execute ¶
func (g GetNextFormButtonsCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetNextFormButtonsCmd) IsTransactional ¶
func (g GetNextFormButtonsCmd) IsTransactional() bool
type GetProcessDefinitionCmd ¶
type GetProcessDefinitionCmd struct { ProcessDefinitionId string Ctx context.Context Transactional bool }
func (GetProcessDefinitionCmd) Context ¶
func (getProcessDefinitionCmd GetProcessDefinitionCmd) Context() context.Context
func (GetProcessDefinitionCmd) Execute ¶
func (getProcessDefinitionCmd GetProcessDefinitionCmd) Execute(ctx engine.Context) (interface{}, error)
func (GetProcessDefinitionCmd) IsTransactional ¶
func (getProcessDefinitionCmd GetProcessDefinitionCmd) IsTransactional() bool
type GetProcessStatusCmd ¶
func (GetProcessStatusCmd) Context ¶
func (g GetProcessStatusCmd) Context() context.Context
func (GetProcessStatusCmd) Execute ¶
func (g GetProcessStatusCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetProcessStatusCmd) IsTransactional ¶
func (g GetProcessStatusCmd) IsTransactional() bool
type GetProcessViewCmd ¶
func (GetProcessViewCmd) Context ¶
func (g GetProcessViewCmd) Context() context.Context
func (GetProcessViewCmd) Execute ¶
func (g GetProcessViewCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetProcessViewCmd) IsTransactional ¶
func (g GetProcessViewCmd) IsTransactional() bool
type GetRecallableActivitiesCmd ¶
type GetRecallableActivitiesCmd struct { ProcessInstanceId string UserId *string Groups []string Ctx context.Context Transactional bool }
func (GetRecallableActivitiesCmd) Context ¶
func (g GetRecallableActivitiesCmd) Context() context.Context
func (GetRecallableActivitiesCmd) Execute ¶
func (g GetRecallableActivitiesCmd) Execute(commandContext engine.Context) (interface{}, error)
func (GetRecallableActivitiesCmd) IsTransactional ¶
func (g GetRecallableActivitiesCmd) IsTransactional() bool
type GetTaskCmd ¶
func (GetTaskCmd) Context ¶
func (getTaskCmd GetTaskCmd) Context() context.Context
func (GetTaskCmd) Execute ¶
func (getTaskCmd GetTaskCmd) Execute(ctx engine.Context) (interface{}, error)
func (GetTaskCmd) IsTransactional ¶
func (getTaskCmd GetTaskCmd) IsTransactional() bool
type MoveActivityCmd ¶
type MoveActivityCmd struct { Ctx context.Context TargetActivityId string Variables map[string]interface{} UserId string ProcessInstanceId string Transactional bool }
func (MoveActivityCmd) Context ¶
func (moveActivityCmd MoveActivityCmd) Context() context.Context
func (MoveActivityCmd) Execute ¶
func (moveActivityCmd MoveActivityCmd) Execute(commandContext engine.Context) (result interface{}, err error)
func (MoveActivityCmd) IsTransactional ¶
func (moveActivityCmd MoveActivityCmd) IsTransactional() bool
type ProcessMigrateCmd ¶
type ProcessMigrateCmd struct { Transactional bool Ctx context.Context OldDeploymentId string NewDeploymentId string DiffActivities []DiffActivity }
func (ProcessMigrateCmd) Context ¶
func (g ProcessMigrateCmd) Context() context.Context
func (ProcessMigrateCmd) Execute ¶
func (g ProcessMigrateCmd) Execute(commandContext engine.Context) (interface{}, error)
func (ProcessMigrateCmd) IsTransactional ¶
func (g ProcessMigrateCmd) IsTransactional() bool
type ProcessViewDTO ¶
type SelectOption ¶
type SelectOptions ¶
type SelectOptions struct {
Options []*SelectOption
}
type StartProcessInstanceByKeyCmd ¶
type StartProcessInstanceByKeyCmd struct { ProcessDefinitionKey string Variables map[string]interface{} BusinessKey string TenantId string UserId string Ctx context.Context Transactional bool }
func (StartProcessInstanceByKeyCmd) Context ¶
func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Context() context.Context
func (StartProcessInstanceByKeyCmd) Execute ¶
func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Execute(ctx engine.Context) (interface{}, error)
func (StartProcessInstanceByKeyCmd) IsTransactional ¶
func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) IsTransactional() bool
func (StartProcessInstanceByKeyCmd) Start ¶
func (startProcessInstanceByKeyCmd StartProcessInstanceByKeyCmd) Start(ctx engine.Context) (entitymanager.ExecutionEntity, error)
Source Files ¶
- assignTaskCmd.go
- claimTaskCmd.go
- completeCmd.go
- deployProcessCmd.go
- evaluateConditionalEventsCmd.go
- getCurrentTasksByUserCmd.go
- getDeploymentResourceCmd.go
- getIdentityLinksForProcessInstanceCmd.go
- getNextFormButtonsCmd.go
- getProcessDefinitionCmd.go
- getProcessStatusCmd.go
- getProcessViewCmd.go
- getRecallableActivitiesCmd.go
- getTaskCmd.go
- moveActivityCmd.go
- processMigrateCmd.go
- startProcessInstanceByKeyCmd.go
Click to show internal directories.
Click to hide internal directories.