Assembly: OptimaJet.Workflow.Core

Class ActorDefinition

OptimaJet.Workflow.Core.Model.ActorDefinition

Represents a workflow actor that links a RestrictionDefinition in a process scheme to the authorization rule named by ActorDefinition.Rule and stores its optional parameter in ActorDefinition.Value.

public class ActorDefinition : BaseDefinition

Type Hierarchy

Properties

public string OriginalName { get; set; } #
Gets or sets the actor name recorded when scheme inlining first copied this definition into another process scheme.
public string OriginalSchemeCode { get; set; } #
Gets or sets the source process scheme code recorded when this actor was first inlined.
public bool WasInlined { get; set; } #
Gets or sets a value indicating whether scheme inlining copied this actor from another process scheme.
public string Rule { get; set; } #
Gets or sets the name of the authorization rule that determines which workflow participant identities match this actor.
public string Value { get; set; } #
Gets or sets the optional parameter value passed to the authorization rule named by ActorDefinition.Rule.

Remarks

When ActorDefinition.IsValueExpression is true, this value is evaluated as an expression first. In either case, workflow substitutions are applied to the resulting value before the rule is invoked.
public bool IsValueExpression { get; set; } #
Gets or sets a value indicating whether ActorDefinition.Value contains expression source that is evaluated to obtain the parameter for the authorization rule named by ActorDefinition.Rule.
public bool IsPredefined { get; set; } #
Gets or sets a value indicating whether this actor was added to the process scheme by a WorkflowRuntime as a predefined actor.

Methods

public ActorDefinition Clone() #
Creates a shallow copy of this ActorDefinition and clones its BaseDefinition.DesignerSettings.

Returns

Type
Description
ActorDefinition
A new ActorDefinition with the same actor data and independent BaseDefinition.DesignerSettings.

Exceptions

Type
Description
NullReferenceException