A condition the ICmTask object must satisfy in order to be considered ready to be worked upon. Precondition expressions are specified in the class definition for the task (as class constant properties). They cannot be set on a task instance.

A precondition is evaluated when a ICmTask object is in the WAITING_PRECONDITION state, and changeState(LifecycleChangeFlags.PROMOTE) is invoked on the ICmTask.

A condition is expressed as an SQL predicate applied to the ICmTask object itself, or to objects related to the ICmTask through object-valued properties. For example, if you have a document approval activity that cannot be worked on until its InputDocument property is set to a released document version, then the precondition expression would be InputDocument SATISFIES (VersionStatus = 1).

A precondition has the same syntax requirements as the FilterExpression property.

Namespace:  FileNet.Api.Core
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
ReadOnly Property PreCondition As String
C#
string PreCondition { get; }
Visual C++
property String^ PreCondition {
	String^ get ();
}
JavaScript
function get_preCondition();

ToggleRemarks

ToggleSee Also