Skip to main content

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

Class BasicPlugin

Inheritance

↳ object

    ↳ WorkflowActionProvider<ActionsBasicPlugin,ActionsAsyncBasicPlugin,ConditionsBasicPlugin,ConditionsAsyncBasicPlugin>

        ↳ WorkflowActionAndDesignerParameterFormatProvider<ActionsBasicPlugin,ActionsAsyncBasicPlugin,ConditionsBasicPlugin,ConditionsAsyncBasicPlugin>

            ↳ CustomMixProvider<ActionsBasicPlugin,ActionsAsyncBasicPlugin,ConditionsBasicPlugin,ConditionsAsyncBasicPlugin>

                ↳ WorkflowPlugin<ActionsBasicPlugin,ActionsAsyncBasicPlugin,ConditionsBasicPlugin,ConditionsAsyncBasicPlugin>

                    ↳ WorkflowPluginWithRuleProvider<ActionsBasicPlugin,ActionsAsyncBasicPlugin,ConditionsBasicPlugin,ConditionsAsyncBasicPlugin,RulesBasicPlugin,RulesAsyncBasicPlugin>

                        ↳ BasicPlugin

Implements

ICustomMixProvider

ICustomWorkflowActionProvider

IWorkflowActionProvider

IDisableProvider

ICustomDesignerParameterFormatProvider

IDesignerParameterFormatProvider

ICustomActivityProvider

ICustomConditionProvider

IWorkflowPlugin

ICustomWorkflowRuleProvider

IWorkflowRuleProvider

Inherited Members

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesExcludeRule

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesAsyncExcludeRule

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesCheck

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesCheckAsync

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesGetIdentities

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.RulesGetIdentitiesAsync

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.GetRules(NamesSearchType)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.GetRulesAsync(NamesSearchType)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.GetRules(string, NamesSearchType)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.Check(ProcessInstance, WorkflowRuntime, string, string, string)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.CheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.GetIdentities(ProcessInstance, WorkflowRuntime, string, string)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.GetIdentitiesAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.IsCheckAsync(string, string)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.IsGetIdentitiesAsync(string, string)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.ExcludeRule(string, ExcludeRule)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.ValidateRules(out List<string>, bool)

WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>.ValidateRulesAsync(out List<string>, bool)

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 BasicPlugin : WorkflowPluginWithRuleProvider<ActionsBasicPlugin, ActionsAsyncBasicPlugin, ConditionsBasicPlugin, ConditionsAsyncBasicPlugin, RulesBasicPlugin, RulesAsyncBasicPlugin>, ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider, IWorkflowPlugin, ICustomWorkflowRuleProvider, IWorkflowRuleProvider

Constructors

BasicPlugin()

Declaration
public BasicPlugin()

BasicPlugin(Dictionary<string, string>)

Declaration
public BasicPlugin(Dictionary<string, string> pluginSettings)
Parameters
TypeNameDescription
Dictionary<string, string>pluginSettings

Properties

Name

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

UsersInRoleAsync

Declaration
public UsersInRoleAsyncDelegate UsersInRoleAsync { get; set; }
Property value
TypeDescription
UsersInRoleAsyncDelegate

Setting_Mailserver

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

Setting_MailserverPort

Declaration
public int Setting_MailserverPort { get; set; }
Property value
TypeDescription
int

Setting_MailserverFrom

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

Setting_MailserverLogin

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

Setting_MailserverPassword

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

Setting_MailserverSsl

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

Setting_DontCompileExpressions

Use this setting for compatibility only

Declaration
[Obsolete]
public bool Setting_DontCompileExpressions { get; set; }
Property value
TypeDescription
bool

Methods

InitialActions()

Declaration
protected virtual void InitialActions()

InitialActionsAsync()

Declaration
protected virtual void InitialActionsAsync()

ActionAsyncSetActivity(ProcessInstance, WorkflowRuntime, Dictionary<string, string>)

Declaration
protected virtual void ActionAsyncSetActivity(ProcessInstance processInstance, WorkflowRuntime runtime, Dictionary<string, string> parameters)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Dictionary<string, string>parameters

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

StoreResponse(HttpResponseMessage, ProcessInstance, Dictionary<string, string>)

Declaration
protected virtual Task StoreResponse(HttpResponseMessage res, ProcessInstance processInstance, Dictionary<string, string> parameters)
Parameters
TypeNameDescription
HttpResponseMessageres
ProcessInstanceprocessInstance
Dictionary<string, string>parameters
Returns
TypeDescription
Task

StoreResponse(string, ProcessInstance, Dictionary<string, string>)

Declaration
protected virtual Task StoreResponse(string data, ProcessInstance processInstance, Dictionary<string, string> parameters)
Parameters
TypeNameDescription
stringdata
ProcessInstanceprocessInstance
Dictionary<string, string>parameters
Returns
TypeDescription
Task

OnPluginAdd(WorkflowRuntime, List<string>)

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

OnPluginRemoveAsync(WorkflowRuntime)

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

InitialExclude()

Declaration
protected virtual void InitialExclude()

InitialSettings()

Declaration
protected virtual void InitialSettings()

WithActor(string, List<string>)

Adds an actor to the collection of predefined actors in all schemes specified in the collection. It is supposed to be used before plugin initialization.

Declaration
public void WithActor(string actor, List<string> schemes = null)
Parameters
TypeNameDescription
stringactorActor name.
List<string>schemesCollection of scheme codes for adding an actor.

WithActors(List<string>, List<string>)

Adds an actors collection to the collection of predefined actors in all schemes specified in the collection. It is supposed to be used before plugin initialization.

Declaration
public void WithActors(List<string> actors, List<string> schemes = null)
Parameters
TypeNameDescription
List<string>actorsCollection of actors names.
List<string>schemesCollection of scheme codes for adding an actor.

GetApprovers(ProcessInstance, string)

Declaration
public static Approvers GetApprovers(ProcessInstance processInstance, string name)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringname
Returns
TypeDescription
Approvers

OnProcessStatusChangedAsync(object, ProcessStatusChangedEventArgs, CancellationToken)

Declaration
protected virtual Task OnProcessStatusChangedAsync(object handler, ProcessStatusChangedEventArgs e, CancellationToken token)
Parameters
TypeNameDescription
objecthandler
ProcessStatusChangedEventArgse
CancellationTokentoken
Returns
TypeDescription
Task

RuleGetApprovers(ProcessInstance)

Declaration
protected virtual Task<IEnumerable<string>> RuleGetApprovers(ProcessInstance processInstance)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
Returns
TypeDescription
Task<IEnumerable<string>>

GetAutocompleteSuggestions(SuggestionCategory, string, string)

Declaration
public virtual List<string> GetAutocompleteSuggestions(SuggestionCategory category, string value, string schemeCode)
Parameters
TypeNameDescription
SuggestionCategorycategory
stringvalue
stringschemeCode
Returns
TypeDescription
List<string>

GetCustomActivities()

Declaration
public override List<ActivityBase> GetCustomActivities()
Returns
TypeDescription
List<ActivityBase>

InitialConditions()

Declaration
protected virtual void InitialConditions()

InitialConditionsAsync()

Declaration
protected virtual void InitialConditionsAsync()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

InitialActionsDescriptions()

Declaration
protected virtual void InitialActionsDescriptions()

InitialActionsAsyncDescriptions()

Declaration
protected virtual void InitialActionsAsyncDescriptions()

InitialActionsAsyncTemplates()

Declaration
protected virtual void InitialActionsAsyncTemplates()

InitialConditionsDescriptions()

Declaration
protected virtual void InitialConditionsDescriptions()

InitialConditionsAsyncDescriptions()

Declaration
protected virtual void InitialConditionsAsyncDescriptions()

InitialFormatsActions()

Declaration
protected virtual void InitialFormatsActions()

InitialFormatsActionsAsync()

Declaration
protected virtual void InitialFormatsActionsAsync()

InitialFormatsConditions()

Declaration
protected virtual void InitialFormatsConditions()

InitialFormatsConditionsAsync()

Declaration
protected virtual void InitialFormatsConditionsAsync()

FormatSetActivity()

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

FormatsExecuteCommand()

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

FormatsSetState()

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

FormatRemoveParameter()

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

FormatSetParameter()

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

FormatSendEmail()

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

FormatCreateProcess()

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

FormatHTTPRequest()

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

FormatFillApproversUsers()

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

FormatFillApproversRoles()

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

FormatCheckParameter()

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

FormatCheckApproversExist()

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

FormatCheckHTTPRequest()

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

FormatIsApprovedByUsers()

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

FormatIsApprovedByRoles()

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

FormatIsApproveComplete()

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

FormatIsProcessFinish()

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

FormatCheckAllSubprocessesCompleted()

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

FormatDeleteSubprocesses()

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

InitialRulesCheck()

Declaration
protected virtual void InitialRulesCheck()

InitialRulesCheckAsync()

Declaration
protected virtual void InitialRulesCheckAsync()

InitialRulesGetIdentities()

Declaration
protected virtual void InitialRulesGetIdentities()

InitialRulesGetIdentitiesAsync()

Declaration
protected virtual void InitialRulesGetIdentitiesAsync()

ApproverCheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

Declaration
public virtual Task<bool> ApproverCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

PredefinedCheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

Declaration
public virtual Task<bool> PredefinedCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

CheckRoleCheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

Declaration
public virtual Task<bool> CheckRoleCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

ApproverCheckAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public virtual Task<IEnumerable<string>> ApproverCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

PredefinedCheckAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public virtual Task<IEnumerable<string>> PredefinedCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

CheckRoleCheckAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public virtual Task<IEnumerable<string>> CheckRoleCheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

Fields

PredefinedActorProvider

Allows to thread-safely control collections of predefined actors.

Declaration
public readonly IActorProvider PredefinedActorProvider
Returns
TypeDescription
IActorProvider

RequestHeaders

Declaration
public Dictionary<string, string> RequestHeaders
Returns
TypeDescription
Dictionary<string, string>

ApproversInStageAsync

Declaration
public ApproversInStageAsyncDelegate ApproversInStageAsync
Returns
TypeDescription
ApproversInStageAsyncDelegate

CheckPredefinedActorAsync

Declaration
public CheckPredefinedActorAsyncDelegate CheckPredefinedActorAsync
Returns
TypeDescription
CheckPredefinedActorAsyncDelegate

GetPredefinedIdentitiesAsync

Declaration
public GetPredefinedIdentitiesAsyncDelegate GetPredefinedIdentitiesAsync
Returns
TypeDescription
GetPredefinedIdentitiesAsyncDelegate

UpdateDocumentStateAsync

Declaration
public UpdateDocumentStateDelegate UpdateDocumentStateAsync
Returns
TypeDescription
UpdateDocumentStateDelegate

Extension Methods

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