FNP8_SetPropertyEx
Sets the designated FileNet® P8 property to a specified value.
Syntax
bool FNP8_SetPropertyEx(StrParam)
Parameters
The following comma-separated string values:- Property ID: the name of an existing document property in the FileNet P8 library (equivalent to a document index field).
- Property Value: the value to assign to the associated Property ID.
- Optional property type. If this parameter is not specified, the property type defaults to a string. Supported types are: Binary, Boolean, DateTime, Float, ID, Integer, Object and String.
Smart Parameters are supported for values.
Returns
False if either parameter is blank or if the value of the parameter is invalid. Otherwise True.Attention: If the action returns False,
the action directs the Rulerunner task
to finish with a status of Abort. The task will also abort if more
than one value is assigned to the Smart Parameter variable.
Important: Any ruleset that calls the FNP8_SetPropertyEx action
more than once, using the same Property ID as the opening parameter,
the property value will not create a multivalue property. Unlike the
behavior of the FNP8_SetProperty action, it replaces the existing
property value that was set up by any previous ruleset.
Level
All levels.Details
Sets the designated FileNet property to a specified value. This is equivalent to setting an index value for a document in other document management systems.- Example
FNP8_SetPropertyEx("DocumentTitle, @ID") FNP8_Upload()