Previous  Next          Contents  Index  Glossary        Library Product

Persistence Type

When you define an item type, you must also specify its persistence type. The persistence type controls how long a status audit trail is maintained for each instance of the item type. If you set Persistence to Permanent, the runtime status information is maintained indefinitely until you specifically purge the information by calling the procedure WF_PURGE.TotalPerm( ).

If you set an item type's Persistence to Temporary, you must also specify the number of days of persistence. The status audit trail for each instance of a Temporary item type is maintained for at least 'n' days of persistence after its completion date. After the 'n' days of persistence, you can then use any of the WF_PURGE APIs to purge the item type's runtime status information. See: WF_PURGE.

Note: If you are using the version of Oracle Workflow embedded in Oracle Applications, you may also use the Purge Obsolete Workflow Runtime Data concurrent program to purge obsolete item type runtime status information. The executable name for this concurrent program is "Oracle Workflow Purge Obsolete Data" and its short name is FNDWFPR. See: Purge Obsolete Workflow Runtime Data.

Attention: Since Persistence Type is a feature that is introduced in Oracle Workflow Release 2.5, any item type defined in a release prior to 2.5 is automatically upgraded to have a Persistence Type of Temporary and 0 Days.

         Previous  Next          Contents  Index  Glossary        Library Product