Class FormsPlugin
OptimaJet.Workflow.Plugins.FormsPlugin.FormsPlugin
The plugin for managing forms in the Workflow Engine.
Namespace: OptimaJet.Workflow.Plugins.FormsPlugin
public class FormsPlugin : IWorkflowPluginType Hierarchy
- FormsPlugin Current type
- Implemented interfaces
Constructors
public FormsPlugin(FormsPluginSettings settings) #Represents a plugin that executes forms along with process instances.
Parameters
Name
Type
Description
settingsFormsPluginSettingsProperties
public string Name { get; } #The plugin name.
public bool Disabled { get; set; } #Flag to disable plugin, if true - plugin is disabled, false otherwise.
[Obsolete("Use the Settings property instead.")] public Dictionary<string, string> PluginSettings { get; } Obsolete #The plugin settings.
public FormsPluginSettings Settings { get; } #Gets the plugin settings for configuring the behavior and properties of the FormsPlugin.
Methods
public void OnPluginAdd(WorkflowRuntime runtime, List<string>? schemes = null) #Called when a plugin is added to a runtime.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe instance of the runtime.
schemesList<String>The list of schemes for which the plugin is being added.
public Task OnRuntimeStartAsync(WorkflowRuntime runtime) #Called when the runtime is started.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe instance of the runtime.
Returns
Type
Description
TaskA task that represents the asynchronous operation.