Ext.DirtyTableCache()

Clears Application Engine cache for a specified table

Function Signature

 bool Ext.DirtyTableCache( tableId )

Parameters

Parameter Type Description

tableId

int

A value from TS_TABLES. See Ext.TableId().

Return

Type Description

bool

Returns true if the table was cached. Throws an exception if the table does not exist.

Technical Details

SBM ModScript version: 11.6.1.

Notes

Occasionally, SBM ModScript might be part of an extended series of operations, such as orchestrations, triggered transitions, etc. If one of those actions changes one of the cached tables, and this script needs to see that data, you can use Ext.DirtyTableCache() to ensure that the Application Engine cache is clean.

Use the following SQL to identify tables that Application Engine caches (if TS_CACHESTATUS=1, the table is cached by Application Engine):
select TS_ID,TS_NAME,TS_DBNAME,TS_CACHESTATUS from TS_TABLES

Related Topics

Extension Functions