I need to pick all the messages from db and send it for reprocessing.
my main requirement is
Adding a trigger variable such as processedFlag
is definitely the simplest way to go. Initially this variable is set to null
.
Procedure:
obj.processedFlag is not null
. obj.processedFlag
to a value ≠ null
.Not using a trigger variable would only produce a fair amount of headaches, I guess.