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.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
ReadOnly Property PreCondition As String |
C# |
---|
string PreCondition { get; } |
Visual C++ |
---|
property String^ PreCondition { String^ get (); } |
JavaScript |
---|
function get_preCondition(); |
Remarks
Metadata
AllowsDefaultChange: true
Cardinality: SINGLE
CopyToReservation: false
DataType: STRING
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: false
MaximumLengthString: null
ModificationAccessRequired: WRITE
PersistenceType: NOT_PERSISTENT
RequiresUniqueElements: false
Settability: READ_ONLY
TargetAccessRequired: READ