FNP8_UpdateProperties

Updates the properties of an existing FileNet® P8 document by using the data that is passed into the FNP8_SetProperty action.

Syntax

bool FNP8_UpdateProperties()

Parameters

Uses the key specified in the FNP8_SetKeyProperty action to search for an existing document within a FileNet P8 Case Manager Object Store and updates the P8 document’s properties as specified by the FNP8_SetProperty action.

Returns

True if the update is successful, False if the action is unable to update the document.

Level

Batch, Document or Page level.

Details

Use this action to update an existing FileNet P8 document's properties. The UpdateProperties action should only be used to update properties for an existing document. If a new document is created use the Upload action.
Example
FNP8_SetKeyProperty ("DCKey,@DCKey)
FNP8_SetProperty("AGIncome, @AGIncome")
FNP8_SetProperty("TaxYear,@TaxYear)
FNP8_UpdateProperties()

This example will first set the key document property name and value to search for a document, the next two actions indicate which properties and values that the FileNet P8 document should be updated with. The FNP8_UpdateProperties will invoke the actual update. If more than one document matches the criteria specified in the SetKeyProperty action, only the first document will be updated.