Before Action Triggering event

Official Content
This documentation is valid for:

It can be used to trigger a Rule before a certain action has been executed.

Syntax

BeforeValidate
    Allows the execution of rules before starting the validation process of the level in which the rule has been triggered.

Any valid Transaction rule [ IF condition ][ ON BeforeValidate] ;

Where

condition

     Is any valid logic condition

BeforeInsert
    It triggers before actually doing the Insert action.

Any valid Transaction rule [ IF condition ][ ON BeforeInsert] ;

Where

condition

     Is any valid logic condition

BeforeUpdate
    It triggers before actually doing the Update action.

Any valid Transaction rule [ IF condition ][ ON BeforeUpdate] ;

Where

condition

     Is any valid logic condition

BeforeDelete
    It triggers before actually doing the Delete action.

Any valid Transaction rule [ IF condition ][ ON BeforeDelete] ;

Where

condition

     Is any valid logic condition

BeforeComplete
    It triggers before the completion of the Logical Unit of Work .

Any valid Transaction rule [ IF condition ][ ON BeforeComplete] ;

Where

condition

     Is any valid logic condition

Type Returned: Boolean (True or False)

Examples

GetParms.Call(&Parm1, &Parm2, &Parm3, &Parm4) On BeforeValidate;
Log.Call(&Now , &Parm1 , &Parm2 ) On BeforeComplete; 

Scope

Objects: Transaction objects
Languages: .NET, Ruby, Java, Visual Basic

See Also

After Action Triggering event

Transaction rules

Rule Triggering Events



 


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.