Hi,
I have designed two events, one each for this window’s LU and that for its parent. But, when a parent’s entry is created, a default entry is created by the business logic on this window as well. Anyway, when that happens, the event designed for this window is not meant to fire and generate an email, which is only expected when data on this window is manually entered.
For this purpose, I have introduced a custom field (which will be made invisible), which is highlighted below -

The problem here is that, although the value is correctly set at the end, its value is not successfully readable in the event during the transaction (autonomous transaction didn’t work either), as in the below:

Note: Address type code is a key value used to identify creation of a new object.
Thank you.