Class FormBaseFromConditionAsync
OptimaJet.Workflow.Plugins.Activity.FormBaseFromConditionAsync
Namespace: OptimaJet.Workflow.Plugins.Activity
public sealed class FormBaseFromConditionAsync : FormBaseType Hierarchy
- FormBase
- FormBaseFromConditionAsync Current type
Properties
public override bool Disabled { get; set; } #Gets or sets a value indicating whether this form is excluded from the custom activity or condition metadata exposed to the workflow designer.
public override List<CodeActionParameterDefinition> Parameters { get; set; } #Gets or sets the form parameter definitions.
Methods
public static FormBase Create<TEnum>(TEnum conditionName, string template, ConditionAsyncDelegate actionAsync, Func<List<CodeActionParameterDefinition>> formats, IDisableProvider disableProvider) where TEnum : struct #Parameters
Name
Type
Description
conditionName{TEnum}templateStringactionAsyncConditionAsyncDelegateformatsFunc<CodeActionParameterDefinition>disableProviderIDisableProviderReturns
Type
Description
FormBasepublic override Task ExecutionAsync(WorkflowRuntime runtime, ProcessInstance processInstance, Dictionary<string, string> parameters, CancellationToken token) #Executes the form operation during normal workflow execution.
Parameters
Name
Type
Description
parametersDictionary<String, String>Runtime parameter values for the executed form operation, keyed by parameter name.
Returns
Type
Description
TaskA Task that represents the asynchronous execution.
public override Task PreExecutionAsync(WorkflowRuntime runtime, ProcessInstance processInstance, Dictionary<string, string> parameters, CancellationToken token) #Executes the form operation during pre-execution simulation.
Parameters
Name
Type
Description
parametersDictionary<String, String>Runtime parameter values for the simulated operation, keyed by parameter name.
Returns
Type
Description
TaskA Task that represents the asynchronous simulation.