Workflow Engine .NET

Assembly: OptimaJet.Workflow.FormsPlugin

Class BuilderExtensions

OptimaJet.Workflow.Plugins.FormsPlugin.BuilderExtensions

Provides extension methods to facilitate the creation and configuration of activities in a process definition specifically for handling form-based workflows.

public static class BuilderExtensions

Inheritance

  • System.Object

Methods

public static IActivityBuilder CreateShowFormActivity(this IProcessDefinitionBuilder processDefinitionBuilder, string name, FormSettings formSettings) #
Creates and configures a "Show Form" activity in the workflow process definition.

Parameters

Name
Type
Description
processDefinitionBuilder
IProcessDefinitionBuilder
The process definition builder used to create and configure the activity.
name
String
The name of the activity to be created.
formSettings
FormSettings
The settings for the form, containing configuration details such as form name, version, and associated parameters.

Returns

Type
Description
IActivityBuilder
An instance of IActivityBuilder configured with the provided form settings.
public static IActivityBuilder AddShowFormAction(this IActivityBuilder activityBuilder, FormSettings formSettings) #
Adds a "Show Form" action to the activity builder using the specified form settings.

Parameters

Name
Type
Description
activityBuilder
IActivityBuilder
The activity builder that the "Show Form" action will be added to.
formSettings
FormSettings
The settings for the form, containing configuration details essential for the "Show Form" action.

Returns

Type
Description
IActivityBuilder
The updated instance of IActivityBuilder with the "Show Form" action added.