Class ActionDefinitionReference
OptimaJet.Workflow.Core.Model.ActionDefinitionReference
Represents a named reference to an action or to the condition logic evaluated for a ConditionType.Action condition.
Namespace: OptimaJet.Workflow.Core.Model
public class ActionDefinitionReferenceProperties
public string ActionName { get; set; } #Gets or sets the name used to resolve the referenced action or the condition logic evaluated for a ConditionType.Action condition.
public int Order { get; set; } #Gets or sets the order in which Workflow Engine executes an ActionDefinitionReference in ActivityDefinition.Implementation or ActivityDefinition.PreExecutionImplementation.
Remarks
Workflow Engine executes those references in ascending ActionDefinitionReference.Order order. This value does not affect the order in which conditions are evaluated when the reference is assigned to ConditionDefinition.Action.
public string ActionParameter { get; set; } #Gets or sets the parameter supplied to the referenced action or to the condition logic evaluated for a ConditionType.Action condition.
Remarks
Workflow Engine applies parameter substitutions before invoking logic supplied by an IWorkflowActionProvider implementation or a matching CodeActionDefinition.
public bool IsSystem { get; set; } #Gets or sets a value indicating whether Workflow Engine resolves the reference as a built-in system action during activity execution.
Remarks
This value does not affect a reference assigned to ConditionDefinition.Action.
Methods
public static ActionDefinitionReference Create(string actionName, string order, string parameter) #Parameters
Name
Type
Description
Returns
Type
Description
ActionDefinitionReferenceA new ActionDefinitionReference initialized from the supplied values.
Exceptions
public ActionDefinitionReference Clone() #Creates a shallow copy of this ActionDefinitionReference.
Returns
Type
Description
ActionDefinitionReferenceA new ActionDefinitionReference with the same ActionDefinitionReference.ActionName, ActionDefinitionReference.Order, ActionDefinitionReference.ActionParameter, and ActionDefinitionReference.IsSystem values as this instance.
Remarks
ActivityDefinition.Implementation and ActivityDefinition.PreExecutionImplementation contain action references for normal execution and pre-execution simulation, respectively. ConditionDefinition.Action contains the reference evaluated for a ConditionType.Action condition.