Class WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
OptimaJet.Workflow.Plugins.CustomWorkflowProviders.WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
Namespace: OptimaJet.Workflow.Plugins.CustomWorkflowProviders
public abstract class WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync> : WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider where TEnumActions : struct where TEnumActionsAsync : struct where TEnumConditions : struct where TEnumConditionsAsync : structType Hierarchy
- WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
- WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync> Current type
Methods
protected string GetParameter<TParameter>(Dictionary<string, string> parameters, TParameter parameterName) where TParameter : struct #Parameters
Name
Type
Description
parametersDictionary<String, String>parameterName{TParameter}Returns
Type
Description
Stringprotected string GetParameterOrDefault<TParameter>(Dictionary<string, string> parameters, TParameter parameterName, string defaultValue, bool canBeNullOrEmpty = true) where TParameter : struct #Parameters
Name
Type
Description
parametersDictionary<String, String>parameterName{TParameter}defaultValueStringcanBeNullOrEmptyBooleanReturns
Type
Description
Stringpublic virtual List<CodeActionParameterDefinition> GetFormat(CodeActionType type, string name, string schemeCode) #Gets the ordered form-field definitions for a named action, condition, or rule.
Parameters
Name
Type
Description
typeCodeActionTypeThe parameter usage context: CodeActionType.Action, CodeActionType.Condition, CodeActionType.RuleCheck, or CodeActionType.RuleGet.
nameStringThe action, condition, or rule name selected in the Designer.
schemeCodeStringThe current process scheme code, which can be used to provide scheme-specific fields. The value may be null when the format is requested without a process scheme context.
Returns
Type
Description
List<CodeActionParameterDefinition>An ordered list containing one CodeActionParameterDefinition per form field. Returning null or an empty list indicates that no structured parameter editor is defined; the Designer then uses its raw JSON editor.
Fields
protected Dictionary<TEnumActions, Func<List<CodeActionParameterDefinition>>> ActionsFormats #protected Dictionary<TEnumActionsAsync, Func<List<CodeActionParameterDefinition>>> ActionsAsyncFormats #protected Dictionary<TEnumConditions, Func<List<CodeActionParameterDefinition>>> ConditionsFormats #protected Dictionary<TEnumConditionsAsync, Func<List<CodeActionParameterDefinition>>> ConditionsAsyncFormats #