adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobControlAction Class / RetryLimit Property


In This Topic
    RetryLimit Property
    In This Topic
    Maximum number of times to retry a restart of the current job or step
    Syntax
    'Declaration
     
    
    Public Property RetryLimit As Integer
    public int RetryLimit {get; set;}
    public:
    property int RetryLimit {
       int get();
       void set (    int value);
    }
    Remarks

    This option is only used when ControlType is ArcanaDevelopment.adTempus.Shared.JobControlActionType.RestartJob or ArcanaDevelopment.adTempus.Shared.JobControlActionType.RestartStep.

    If a job or step is restarted by an action and then triggers a restart again, the retry count is incremented and checked against this limit. If the retry count exceeds the limit, the action is skipped and the job/step is not restarted again.

    Set to 0 for no limit. The first restart is retry 1, so setting a RetryLimit of 1 means the target job will only be restarted once. Setting the RetryLimit to 2 means it will be restarted, and then restarted one more time if the action is triggered again. The limit only applies within the current instance of the job/step.

    See Also