Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbRegPostSaveTrigger

dbRegPostSaveTrigger( 
S_triggerFunc 
[ x_priority ] 
) 
=> t / nil

Description

Allows users to register a trigger function that is to be called after dbSave. If dbSave fails, this trigger will not be launched. This trigger will be called only after saving the db cellviews. The post save trigger will be called with the db cellview ID.

The trigger function must not call dbSave again or it will cause infinite looping.

Arguments

S_triggerFunc

User-defined trigger function.

x_priority

Priority of the trigger functions registered. This argument is optional. The default is the lowest priority. The priority argument enables users to control which trigger function is to be launched first. It should be specified as a positive number, and 0 is the highest priority.

The trigger function can be defined after calling dbRegPostSaveTrigger, but, in that case, you will get a warning message.

Values Returned

t

The trigger function gets registered successfully.

nil

The registration fails.


Return to top
 ⠀
X