Hi,
I have the following structure.
Currently I have in a data table stored some specific words, these words are separated by |.
The purpose is that, if the body or subject of the mail contains one of these words, it is routed to a specific queue.
QueueOriginal if no word is found.
QueueSend1: If it finds words within the values defined for QueueSend1.
QueueSubmission2: If it finds words within the values defined for queueSubmission2.
QueueSend..... up to 10.
Right now, I am using the Split function to separate these values and remove the | by generating a collection of variables.
I call a common module to do the checks, but that common module call is being made for each of the possibilities.
Is there a simpler way to handle this?
Thanks.