Assembly: OptimaJet.Workflow.Core

Interface IIdleTimeoutBuilder

OptimaJet.Workflow.Core.Model.Builder.IIdleTimeoutBuilder

Provides a fluent interface for selecting the destination reached when the ActivityDefinition.IdleTimeout for an activity elapses.

public interface IIdleTimeoutBuilder

Methods

IActivityBuilder SetActivity(ActivityDefinition activity) #
Configures the process instance to move to activity when the ActivityDefinition.IdleTimeout for the current activity elapses.

Parameters

Name
Type
Description
activity
ActivityDefinition
The ActivityDefinition to use as the destination.

Returns

Type
Description
IActivityBuilder
The IActivityBuilder for continuing configuration of the current activity.
IActivityBuilder SetState(string stateName) #
Configures the process instance to move to the business state named by stateName when the ActivityDefinition.IdleTimeout for the current activity elapses.

Parameters

Name
Type
Description
stateName
String
The name of the destination business state.

Returns

Type
Description
IActivityBuilder
The IActivityBuilder for continuing configuration of the current activity.