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
System.ActivitiesActivity
System.ActivitiesActivityWithResult
System.ActivitiesActivityString
System.ActivitiesNativeActivityString
Scanjour.Workflow4.ActivityLibrary.PhasesUpdatePhaseState
Namespace: Scanjour.Workflow4.ActivityLibrary.Phases
Assembly: Scanjour.Workflow4.ActivityLibrary_21.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.3.0.0.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax
The UpdatePhaseState type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UpdatePhaseState | Initializes a new instance of the UpdatePhaseState class |
Properties
Name | Description | |
---|---|---|
DisplayName | Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.) | |
Duration |
The time the due date occurs.
| |
Id | Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.) | |
NearDuration |
The time the near due date occurs.
| |
PhaseNumber |
The phase number the phase task represents.
| |
PhaseState |
The new phase state.
| |
Result | Gets or sets the result argument for the ActivityTResult. (Inherited from ActivityString.) | |
ResultType | When implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.) |
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ShouldSerializeDisplayName | Indicates whether the DisplayName property should be serialized. (Inherited from Activity.) | |
ToString | (Inherited from Activity.) |
See Also