Controlling jobs by inserting a command in the subject line
iQ.Suite Tips & Tricks for IBM Domino
In certain situations, it can be helpful to deactivate an iQ.Suite job for individual emails and launch a dedicated job instead.
This is easily done by inserting commands in the subject line of the email.
First, you need to create a text rule that searches the Subject field
for the keyword in question. In our example, the keyword is:
<COMMAND> (the square brackets are part of the keyword)
Important: insert an * both before and after the keyword so that it will be located wherever it appears in the subject line.

In the next step, you select the above rule in the job required (in our example, a trailer).

The keyword (here "<COMMAND>") can now be used in an email.


The keyword causes the trailer to be attached. The disadvantage
with this method is that the keyword still appears in the subject line.
To get rid of it, you will need to create an action mailjob (activated
using the same rule).
In this job, a Notes formula is used to remove the keyword.
The formula in words:
@SetField ("Subject";@ReplaceSubstring(Subject;"<COMMAND>"; ""));@Success
(the function is case-sensitive)

The action is now run and the keyword removed.
