Class ParameterMapping
OptimaJet.Workflow.Core.Execution.ParameterMapping
Represents an expression-based assignment to a process parameter when an inline activity is entered or exited.
Namespace: OptimaJet.Workflow.Core.Execution
public class ParameterMappingConstructors
public ParameterMapping(string target, string expression, ParameterPurpose purpose = ParameterPurpose.Temporary) #Creates a mapping that assigns the result of evaluating
expression to the process parameter named by target.Parameters
Name
Type
Description
targetStringThe name of the process parameter that receives the evaluated value.
expressionStringThe expression to evaluate.
purposeParameterPurposeThe ParameterPurpose to use when
target does not name a process parameter defined in the process scheme. Defaults to ParameterPurpose.Temporary.Properties
public string Target { get; } #Gets the name of the process parameter that receives the evaluated value.
public string Expression { get; } #Gets the expression whose evaluated result is assigned to ParameterMapping.Target.
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(SystemStringEnumConverter<ParameterPurpose>))] public ParameterPurpose Purpose { get; } #Gets the ParameterPurpose to use when ParameterMapping.Target does not name a process parameter defined in the process scheme. Defaults to ParameterPurpose.Temporary.