UpdatePhaseState Class

Scanjour Workflow4 Reference Manual
Update a phase state. This activity maintains the phase state and phase action of the phase. The following states are valid: OPEN - The phase_opened field is stamped with the current DateTime. If no DueDate is present and a duration is, a DueDate is calculated based on the duration. CLOSED - The phase_closed filed is stamped with the current DateTime. PENDING - The phase_opened, phase_closed are cleared. If the DueDate is calculated the DueDate and NearDueDate fields are cleared.
Inheritance Hierarchy

SystemObject
  System.ActivitiesActivity
    System.ActivitiesActivityWithResult
      System.ActivitiesActivityString
        System.ActivitiesNativeActivityString
          Scanjour.Workflow4.ActivityLibrary.PhasesUpdatePhaseState

Namespace:  Scanjour.Workflow4.ActivityLibrary.Phases
Assembly:  Scanjour.Workflow4.ActivityLibrary_22.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_22.1.0.0.dll) Version: 22.1.0.0 (22.1.0.0)
Syntax

public sealed class UpdatePhaseState : NativeActivity<string>

The UpdatePhaseState type exposes the following members.

Constructors

  NameDescription
Public methodUpdatePhaseState
Initializes a new instance of the UpdatePhaseState class
Top
Properties

  NameDescription
Public propertyDisplayName
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
(Inherited from Activity.)
Public propertyDuration
The time the due date occurs.
Public propertyId
Gets an identifier that is unique in the scope of the workflow definition.
(Inherited from Activity.)
Public propertyNearDuration
The time the near due date occurs.
Public propertyPhaseNumber
The phase number the phase task represents.
Public propertyPhaseState
The new phase state.
Public propertyResult (Inherited from ActivityString.)
Public propertyResultType
When implemented in a derived class, gets the type of an activity OutArgument.
(Inherited from ActivityWithResult.)
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShouldSerializeDisplayName
Indicates whether the DisplayName property should be serialized.
(Inherited from Activity.)
Public methodToString
Returns a String that contains the Id and DisplayName of the Activity.
(Inherited from Activity.)
Top
See Also

Reference