After function

Official Content
This documentation is valid for:

Returns True/False depending on the stage of the Transaction.

Syntax

After(Event | Action)

Type returned:

Boolean (True or False)

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).

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, the user 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 notice that this function is maintained for backward compatibility reasons. We highly recommend that you use the Triggering Events instead of After(Event | Action) functions.

Scope

Objects  Transaction object

See also

Triggering Events
After Attribute Function





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