Assembly: OptimaJet.Workflow.Core

Class FormBaseFromConditionAsync

OptimaJet.Workflow.Plugins.Activity.FormBaseFromConditionAsync

public sealed class FormBaseFromConditionAsync : FormBase

Type 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}
template
String
actionAsync
ConditionAsyncDelegate
formats
Func<CodeActionParameterDefinition>
disableProvider
IDisableProvider

Returns

Type
Description
FormBase
public 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
runtime
WorkflowRuntime
The WorkflowRuntime invoking the execution.
processInstance
ProcessInstance
The current ProcessInstance.
parameters
Dictionary<String, String>
Runtime parameter values for the executed form operation, keyed by parameter name.
token
CancellationToken
The CancellationToken passed from the execution pipeline.

Returns

Type
Description
Task
A 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
runtime
WorkflowRuntime
The WorkflowRuntime invoking the simulation.
processInstance
ProcessInstance
The current ProcessInstance.
parameters
Dictionary<String, String>
Runtime parameter values for the simulated operation, keyed by parameter name.
token
CancellationToken
The CancellationToken passed from the execution pipeline.

Returns

Type
Description
Task
A Task that represents the asynchronous simulation.