The RetryActivity allows to retry activity with a condition activity and an executed activity to be constructed.
Inheritance Hierarchy
System.ActivitiesActivity
Scanjour.Workflow4.ActivityLibraryRetryActivity
Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
The RetryActivity type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RetryActivity |
Constructor for activity
|
Properties
Name | Description | |
---|---|---|
ActionActivity |
The action activity which is activated if the condition activity returns true.
| |
ConditionActivity |
The condition activity which is activated with RetryInterval intervals. If not provided result is interpreted internally - for success it will not be retry, for failure action will be retried.
| |
DisplayName | Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.) | |
Id | Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.) | |
InvertCondition |
Invert condition for ActionActivity result. Default value false should be used with ActionActivity that returns true for success and false for failure. For ActionActivity that returns true for failure set this value to true.
| |
LastActionResult |
The last action result. Can be used to determine if retry is needed.
| |
LogErrorIfRetrying |
If set to True - log message will be written first time retrying needed and when finished.
| |
RetryDuration |
The current time spent on retrying updated every retry.
| |
RetryInterval |
The interval between condition check activity schedule.
| |
RetryPeriod |
The time period retrying will be performed. When reached no further retries will be made.
| |
StatusActivity |
The status activity which is activated if assigned allows feedback on retrying status.
|
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