Class ActivityTimeout
OptimaJet.Workflow.Core.Model.ActivityTimeout
Represents the interval and response configured for ActivityDefinition.ExecutionTimeout or ActivityDefinition.IdleTimeout.
Namespace: OptimaJet.Workflow.Core.Model
public class ActivityTimeoutProperties
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(SystemStringEnumConverter<ActivityTimeoutType>))] public ActivityTimeoutType Type { get; set; } #Gets or sets the ActivityTimeoutType that determines the response to the timeout.
public string Timer { get; set; } #Gets or sets the interval expression after which the timeout elapses.
Remarks
ActivityDefinition.ExecutionTimeout uses a regular elapsed-time interval. ActivityDefinition.IdleTimeout uses an interval timer and can use work-calendar-aware units.
public string NameForSet { get; set; } #Gets or sets the destination activity name when ActivityTimeout.Type is ActivityTimeoutType.SetActivity, or the destination business state name when it is ActivityTimeoutType.SetState.
public int RetryCount { get; set; } #Gets or sets the number of additional attempts to execute the activity when ActivityTimeout.Type is ActivityTimeoutType.Retry.