RetryActivity Class

Scanjour Workflow4 Reference Manual
The RetryActivity allows to retry activity with a condition activity and an executed activity to be constructed.
Inheritance Hierarchy

SystemObject
  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

public sealed class RetryActivity : Activity

The RetryActivity type exposes the following members.

Constructors

  NameDescription
Public methodRetryActivity
Constructor for activity
Top
Properties

  NameDescription
Public propertyActionActivity
The action activity which is activated if the condition activity returns true.
Public propertyConditionActivity
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.
Public propertyDisplayName
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
(Inherited from Activity.)
Public propertyId
Gets an identifier that is unique in the scope of the workflow definition.
(Inherited from Activity.)
Public propertyInvertCondition
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.
Public propertyLastActionResult
The last action result. Can be used to determine if retry is needed.
Public propertyLogErrorIfRetrying
If set to True - log message will be written first time retrying needed and when finished.
Public propertyRetryDuration
The current time spent on retrying updated every retry.
Public propertyRetryInterval
The interval between condition check activity schedule.
Public propertyRetryPeriod
The time period retrying will be performed. When reached no further retries will be made.
Public propertyStatusActivity
The status activity which is activated if assigned allows feedback on retrying status.
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