Question & Answer
Question
This technote addresses questions about the differences between a pre-processing script, a post-processing script, and a post- save script. For example, why does the script operation item.getEntrySaveResult() work correctly in a post-save script but always returns an UNKNOWN in a post-processing script?
Answer
Both pre-processing and post-processing scripts run before an item or entry is saved. The difference between them is that pre-processing scripts runs before the value and validation rules checking is complete, and post-processing scripts run after these processes.
The post-save scripts run after the item or entry has been saved to the catalog or collaboration area.
For the item.getEntrySaveResult() script, if you receive the return value UNKNOWN in a post-processing script it means that the item has simply not been saved.
Product Synonym
WPC
WebSphere Product Center
Was this topic helpful?
Document Information
More support for:
WebSphere Product Center
Software version:
5.3.2, 5.3.1, 5.3, 5.2.1, 5.2
Operating system(s):
AIX, Linux, Solaris
Document number:
357361
Modified date:
16 June 2018
UID
swg21285029