Class AssignmentPlugin
Inheritance
↳ object
↳ WorkflowActionProvider<ActionsAssignmentPlugin,ActionsAsyncAssignmentPlugin,ConditionsAssignmentPlugin,ConditionsAsyncAssignmentPlugin>
↳ WorkflowActionAndDesignerParameterFormatProvider<ActionsAssignmentPlugin,ActionsAsyncAssignmentPlugin,ConditionsAssignmentPlugin,ConditionsAsyncAssignmentPlugin>
↳ CustomMixProvider<ActionsAssignmentPlugin,ActionsAsyncAssignmentPlugin,ConditionsAssignmentPlugin,ConditionsAsyncAssignmentPlugin>
↳ WorkflowPlugin<ActionsAssignmentPlugin,ActionsAsyncAssignmentPlugin,ConditionsAssignmentPlugin,ConditionsAsyncAssignmentPlugin>
↳ AssignmentPlugin
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
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ShowSettingsParameters
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.PluginSettings
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.OnPluginAdd(WorkflowRuntime, List<string>)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.OnRuntimeStartAsync(WorkflowRuntime)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameterOrFromSettingsOrDefault<TParameter>(Dictionary<string, string>, TParameter, string, bool)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IfSettingNotSetOrShowSettingsParameters(Action, Enum)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SetSettingDefaultValue(Enum, string)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SettingValue(Enum, string)
WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SetSettingNewValue(Enum, string)
CustomMixProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>.GetCustomActivities()
CustomMixProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>.GetCustomConditions()
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsFormats
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncFormats
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsFormats
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncFormats
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameter<TParameter>(Dictionary<string, string>, TParameter)
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameterOrDefault<TParameter>(Dictionary<string, string>, TParameter, string, bool)
WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetFormat(CodeActionType, string, string)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Actions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsync
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Conditions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsync
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsDescriptions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncDescriptions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncTemplates
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsDescriptions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncDescriptions
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncTemplates
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsExcludeRule
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncExcludeRule
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsExcludeRule
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncExcludeRule
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExcludeAction(string, ExcludeRule)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExcludeCondition(string, ExcludeRule)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionParameter
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteAction(string, ProcessInstance, WorkflowRuntime, string)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteCondition(string, ProcessInstance, WorkflowRuntime, string)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActions(string, NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditions(string, NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IsActionAsync(string, string)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActionsAsync(NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActions(NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditions(NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditionsAsync(NamesSearchType)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IsConditionAsync(string, string)
WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ToParameters(string)
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Plugins
Assembly: OptimaJet.Workflow.Core.dll
Syntax
public class AssignmentPlugin : WorkflowPlugin<ActionsAssignmentPlugin, ActionsAsyncAssignmentPlugin, ConditionsAssignmentPlugin, ConditionsAsyncAssignmentPlugin>, ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider, IWorkflowPlugin
Constructors
AssignmentPlugin()
Declaration
public AssignmentPlugin()
Properties
DefaultStatus
Default status for assignment
Declaration
public static string DefaultStatus { get; }
Property value
Name
Declaration
public override string Name { get; protected set; }
Property value
Setting_CheckDeadlineInterval
Declaration
public string Setting_CheckDeadlineInterval { get; set; }
Property value
Setting_StartAutoCheckDeadlinesProcess
Declaration
public bool Setting_StartAutoCheckDeadlinesProcess { get; set; }
Property value
Methods
InitialActions()
Declaration
protected virtual void InitialActions()
InitialActionsAsync()
Declaration
protected virtual void InitialActionsAsync()
ActionAssignmentCheckDeadlineAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task ActionAssignmentCheckDeadlineAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
ActionAssignmentCreateAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task ActionAssignmentCreateAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
ActionAssignmentDeleteAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task ActionAssignmentDeleteAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
ActionAssignmentChangeAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task ActionAssignmentChangeAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
WithStatuses(List<string>, string)
Declaration
public void WithStatuses(List<string> statuses, string defaultStatus)
Parameters
Type | Name | Description |
---|
List<string> | statuses | |
string | defaultStatus | |
GetStatuses()
Declaration
public static List<string> GetStatuses()
Returns
Type | Description |
---|
List<string> | |
InitialExclude()
Declaration
protected virtual void InitialExclude()
OnPluginAdd(WorkflowRuntime, List<string>)
Declaration
public override void OnPluginAdd(WorkflowRuntime runtime, List<string> schemes = null)
Parameters
Type | Name | Description |
---|
WorkflowRuntime | runtime | |
List<string> | schemes | |
OnRuntimeStartAsync(WorkflowRuntime)
Declaration
public override Task OnRuntimeStartAsync(WorkflowRuntime runtime)
Parameters
Type | Name | Description |
---|
WorkflowRuntime | runtime | |
Returns
RemoveSystemProcess(WorkflowRuntime)
Declaration
public Task RemoveSystemProcess(WorkflowRuntime runtime)
Parameters
Type | Name | Description |
---|
WorkflowRuntime | runtime | |
Returns
InitialConditions()
Declaration
protected virtual void InitialConditions()
InitialConditionsAsync()
Declaration
protected virtual void InitialConditionsAsync()
ConditionAssignmentsAnyHaveCertainStatusAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task<bool> ConditionAssignmentsAnyHaveCertainStatusAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
Type | Description |
---|
Task<bool> | |
ConditionAssignmentsAllHaveCertainStatusAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task<bool> ConditionAssignmentsAllHaveCertainStatusAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
Type | Description |
---|
Task<bool> | |
ConditionAssignmentsAnyAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)
Declaration
public virtual Task<bool> ConditionAssignmentsAnyAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
Type | Name | Description |
---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
Dictionary<string, string> | parameters | |
CancellationToken | token | |
Returns
Type | Description |
---|
Task<bool> | |
Declaration
protected virtual void InitialFormatsActions()
Declaration
protected virtual void InitialFormatsActionsAsync()
InitialActionsAsyncTemplates()
Declaration
protected virtual void InitialActionsAsyncTemplates()
InitialConditionsAsyncTemplates()
Declaration
protected virtual void InitialConditionsAsyncTemplates()
Declaration
protected virtual void InitialFormatsConditions()
Declaration
protected virtual void InitialFormatsConditionsAsync()
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentCreate()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsDelete()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentChange()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentCheckDeadline()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAllHaveCertainStatus()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAnyHaveCertainStatus()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAny()
Returns
Type | Description |
---|
List<CodeActionParameterDefinition> | |
Fields
DefaultStartStatus
Default start status for assignment if custom statuses are not used
Declaration
public const string DefaultStartStatus = "In Progress"
Returns
DefaultCompletedStatus
Default completed status for assignment if custom statuses are not used
Declaration
public const string DefaultCompletedStatus = "Completed"
Returns
DefaultDeclinedStatus
Default completed status for assignment if custom statuses are not used
Declaration
public const string DefaultDeclinedStatus = "Declined"
Returns
OnDeadlineToCompleteAsync
Declaration
public DeadlineToCompleteDelegate OnDeadlineToCompleteAsync
Returns
Type | Description |
---|
DeadlineToCompleteDelegate | |
OnDeadlineToStartAsync
Declaration
public DeadlineToStartDelegate OnDeadlineToStartAsync
Returns
Type | Description |
---|
DeadlineToStartDelegate | |
Extension Methods