After function

Official Content
This documentation is valid for:
Note: This function is maintained for backward compatibility reasons. It is highly recommended that you use the Triggering Events instead of this function.

Returns a True/False value, depending on the stage of the Transaction.

Syntax

After(Event | Action)

Where:
Event
   Specifies a valid event; the possible values are: Insert, Update or Delete.

Action
   Describes a possible action; the possible values are: Confirm, Trn, Att or Level(att).

Type returned:
Boolean (True or False)

Scope

Objects:  Transaction

Description

Returns True if a specified event or action has taken place in a Transaction. This event may be triggered because a Transaction's execution has passed a certain Level, a certain attribute has been entered, a Transaction Action has occurred, or the whole Transaction has finished.

GeneXus automatically realizes where and when a rule must be executed. However, you may force GeneXus to execute a given rule after one of the above events.

Note: When an After function is included in a Rule condition, the Rule will be triggered only immediately after the event occurs and nowhere else.

Compatibility

It’s important to highlight that this function is maintained for backward compatibility reasons. It is highly recommended that you use the Triggering Events instead of After(Event | Action) functions.

See Also

Triggering Events
After Attribute function