For IIndexJob and ICmIndexRequest objects, this property identifies the final failure condition for the index job.

For an IReplicationJournalEntry object, this property provides a description of the latest failure condition, if any, for the replication operation that generates this journal entry.

For an ICmThumbnailRequest object, this property states why document thumbnail generation failed.

For an ICmBackgroundSearch object, this property provides a description of the latest failure condition, if any, for the background search operation that generates this journal entry.

For an ICmTask object, this property indicates why the object has been set to the exception state. This property is settable only during the SET_EXCEPTION changeState transaction, for example:

ICmTask.changeState(SET_EXCEPTION);
ICmTask.set_LastFailureReason ( "Required document was not attached to workflow.");
ICmTask.save();

To reset LastFailureReason to a null value, clear the exception: ICmTask.changeState(CLEAR_EXCEPTION).

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

ToggleSyntax

Visual Basic (Declaration)
Property LastFailureReason As String
C#
string LastFailureReason { get; set; }
Visual C++
property String^ LastFailureReason {
	String^ get ();
	void set (String^ value);
}
JavaScript
function get_lastFailureReason();
function set_lastFailureReason(value);

ToggleRemarks

ToggleSee Also