Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

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
TypeDescription
string

Name

Declaration
public override string Name { get; protected set; }
Property value
TypeDescription
string

Setting_CheckDeadlineInterval

Declaration
public string Setting_CheckDeadlineInterval { get; set; }
Property value
TypeDescription
string

Setting_StartAutoCheckDeadlinesProcess

Declaration
public bool Setting_StartAutoCheckDeadlinesProcess { get; set; }
Property value
TypeDescription
bool

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
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
Task

ActionAssignmentCreateAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)

Declaration
public virtual Task ActionAssignmentCreateAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
Task

ActionAssignmentDeleteAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)

Declaration
public virtual Task ActionAssignmentDeleteAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
Task

ActionAssignmentChangeAsync(ProcessInstance, WorkflowRuntime, Dictionary<string, string>, CancellationToken)

Declaration
public virtual Task ActionAssignmentChangeAsync(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
Task

WithStatuses(List<string>, string)

Declaration
public void WithStatuses(List<string> statuses, string defaultStatus)
Parameters
TypeNameDescription
List<string>statuses
stringdefaultStatus

GetStatuses()

Declaration
public static List<string> GetStatuses()
Returns
TypeDescription
List<string>

InitialExclude()

Declaration
protected virtual void InitialExclude()

OnPluginAdd(WorkflowRuntime, List<string>)

Declaration
public override void OnPluginAdd(WorkflowRuntime runtime, List<string> schemes = null)
Parameters
TypeNameDescription
WorkflowRuntimeruntime
List<string>schemes

OnRuntimeStartAsync(WorkflowRuntime)

Declaration
public override Task OnRuntimeStartAsync(WorkflowRuntime runtime)
Parameters
TypeNameDescription
WorkflowRuntimeruntime
Returns
TypeDescription
Task

RemoveSystemProcess(WorkflowRuntime)

Declaration
public Task RemoveSystemProcess(WorkflowRuntime runtime)
Parameters
TypeNameDescription
WorkflowRuntimeruntime
Returns
TypeDescription
Task

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
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
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
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
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
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters
CancellationTokentoken
Returns
TypeDescription
Task<bool>

InitialFormatsActions()

Declaration
protected virtual void InitialFormatsActions()

InitialFormatsActionsAsync()

Declaration
protected virtual void InitialFormatsActionsAsync()

InitialActionsAsyncTemplates()

Declaration
protected virtual void InitialActionsAsyncTemplates()

InitialConditionsAsyncTemplates()

Declaration
protected virtual void InitialConditionsAsyncTemplates()

InitialFormatsConditions()

Declaration
protected virtual void InitialFormatsConditions()

InitialFormatsConditionsAsync()

Declaration
protected virtual void InitialFormatsConditionsAsync()

FormatAssignmentCreate()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentCreate()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentsDelete()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsDelete()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentChange()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentChange()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentCheckDeadline()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentCheckDeadline()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentsAllHaveCertainStatus()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAllHaveCertainStatus()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentsAnyHaveCertainStatus()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAnyHaveCertainStatus()
Returns
TypeDescription
List<CodeActionParameterDefinition>

FormatAssignmentsAny()

Declaration
public virtual List<CodeActionParameterDefinition> FormatAssignmentsAny()
Returns
TypeDescription
List<CodeActionParameterDefinition>

Fields

DefaultStartStatus

Default start status for assignment if custom statuses are not used

Declaration
public const string DefaultStartStatus = "In Progress"
Returns
TypeDescription
string

DefaultCompletedStatus

Default completed status for assignment if custom statuses are not used

Declaration
public const string DefaultCompletedStatus = "Completed"
Returns
TypeDescription
string

DefaultDeclinedStatus

Default completed status for assignment if custom statuses are not used

Declaration
public const string DefaultDeclinedStatus = "Declined"
Returns
TypeDescription
string

OnDeadlineToCompleteAsync

Declaration
public DeadlineToCompleteDelegate OnDeadlineToCompleteAsync
Returns
TypeDescription
DeadlineToCompleteDelegate

OnDeadlineToStartAsync

Declaration
public DeadlineToStartDelegate OnDeadlineToStartAsync
Returns
TypeDescription
DeadlineToStartDelegate

Extension Methods

Stay in the know
Build Workflow Applications Faster
Star us on GitHub