Class ApprovalPlugin
Inheritance
↳ object
↳ WorkflowActionProvider<ActionsApprovalPlugin,ActionsAsyncApprovalPlugin,ConditionsApprovalPlugin,ConditionsAsyncApprovalPlugin>
↳ WorkflowActionAndDesignerParameterFormatProvider<ActionsApprovalPlugin,ActionsAsyncApprovalPlugin,ConditionsApprovalPlugin,ConditionsAsyncApprovalPlugin>
↳ CustomMixProvider<ActionsApprovalPlugin,ActionsAsyncApprovalPlugin,ConditionsApprovalPlugin,ConditionsAsyncApprovalPlugin>
↳ WorkflowPlugin<ActionsApprovalPlugin,ActionsAsyncApprovalPlugin,ConditionsApprovalPlugin,ConditionsAsyncApprovalPlugin>
↳ ApprovalPlugin
Implements
ICustomMixProvider
ICustomWorkflowActionProvider
IWorkflowActionProvider
IDisableProvider
ICustomDesignerParameterFormatProvider
IDesignerParameterFormatProvider
ICustomActivityProvider
ICustomConditionProvider
IWorkflowPlugin
Inherited Members
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Disabled
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.DefaultValues
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Name
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Plugins
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class ApprovalPlugin : WorkflowPlugin<ActionsApprovalPlugin, ActionsAsyncApprovalPlugin, ConditionsApprovalPlugin, ConditionsAsyncApprovalPlugin>, ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider, IWorkflowPlugin
Constructors
ApprovalPlugin()
Declarationpublic ApprovalPlugin()
Properties
Name
Declarationpublic override string Name { get; protected set; }
Type | Description |
---|---|
string |
Methods
InitialActions()
Declarationprotected virtual void InitialActions()
InitialActionsAsync()
Declarationprotected virtual void InitialActionsAsync()
ActionGetApprovalHistoryAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declarationpublic virtual Task ActionGetApprovalHistoryAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |
ActionGetInboxAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declarationpublic virtual Task ActionGetInboxAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |
ActionGetOutboxAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declarationpublic virtual Task ActionGetOutboxAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |
ActionFillApprovalHistoryAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declarationpublic virtual Task ActionFillApprovalHistoryAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |
InitialExclude()
Declarationprotected virtual void InitialExclude()
OnPluginAdd(WorkflowRuntime, List<string>)
Declarationpublic override void OnPluginAdd(WorkflowRuntime runtime, List<string> schemes = null)
Type | Name | Description |
---|---|---|
WorkflowRuntime | runtime | |
List<string> | schemes |
OnPluginRemoveAsync(WorkflowRuntime)
Declarationpublic Task OnPluginRemoveAsync(WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
WorkflowRuntime | runtime |
Type | Description |
---|---|
Task |
OnProcessActivityChangedAsync(WorkflowRuntime, ProcessInstance, CancellationToken)
Declarationprotected virtual Task OnProcessActivityChangedAsync(WorkflowRuntime runtime, ProcessInstance processInstance, CancellationToken token)
Type | Name | Description |
---|---|---|
WorkflowRuntime | runtime | |
ProcessInstance | processInstance | |
CancellationToken | token |
Type | Description |
---|---|
Task |
GetNextOrderForApprovalHistoryAsync(ProcessInstance, WorkflowRuntime)
Declarationprotected virtual Task<long> GetNextOrderForApprovalHistoryAsync(ProcessInstance processInstance, WorkflowRuntime runtime = null)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
Task<long> |
InitialConditions()
Declarationprotected virtual void InitialConditions()
InitialConditionsAsync()
Declarationprotected virtual void InitialConditionsAsync()
InitialActionsDescriptions()
Declarationprotected virtual void InitialActionsDescriptions()
InitialActionsAsyncDescriptions()
Declarationprotected virtual void InitialActionsAsyncDescriptions()
InitialConditionsDescriptions()
Declarationprotected virtual void InitialConditionsDescriptions()
InitialConditionsAsyncDescriptions()
Declarationprotected virtual void InitialConditionsAsyncDescriptions()
InitialFormatsActions()
Declarationprotected virtual void InitialFormatsActions()
InitialFormatsActionsAsync()
Declarationprotected virtual void InitialFormatsActionsAsync()
InitialFormatsConditions()
Declarationprotected virtual void InitialFormatsConditions()
InitialFormatsConditionsAsync()
Declarationprotected virtual void InitialFormatsConditionsAsync()
FormatFillApprovalHistory()
Declarationpublic virtual List<CodeActionParameterDefinition> FormatFillApprovalHistory()
Type | Description |
---|---|
List<CodeActionParameterDefinition> |
FormatGetApprovalHistory()
Declarationpublic virtual List<CodeActionParameterDefinition> FormatGetApprovalHistory()
Type | Description |
---|---|
List<CodeActionParameterDefinition> |
FormatGetInbox()
Declarationpublic virtual List<CodeActionParameterDefinition> FormatGetInbox()
Type | Description |
---|---|
List<CodeActionParameterDefinition> |
FormatGetOutbox()
Declarationpublic virtual List<CodeActionParameterDefinition> FormatGetOutbox()
Type | Description |
---|---|
List<CodeActionParameterDefinition> |
Fields
GetUserNamesByIds
Declarationpublic Func<List<string>, List<string>> GetUserNamesByIds
Type | Description |
---|---|
Func<List<string>, List<string>> |
InboxActorsWithOnlyRejectCommands
Declarationpublic bool InboxActorsWithOnlyRejectCommands
Type | Description |
---|---|
bool |
InboxCheckConditions
When this setting is enabled, transition conditions will be checked during inbox filling, and only transitions for which the conditions are met will be included in the inbox.
Declarationpublic bool InboxCheckConditions
Type | Description |
---|---|
bool |
AutoApprovalHistory
Declarationpublic bool AutoApprovalHistory
Type | Description |
---|---|
bool |
NameParameterForComment
Declarationpublic string NameParameterForComment
Type | Description |
---|---|
string |