Automatic sending an inquiry


It is possible directly at the entrance of an e-mail in todo4teams during the creation of the job to generate an automatical inquiry to an expert without the necessity of processing the job first.
This requires a Javascript-code in the arrival-action of the corresponding e-mail box,.

The following example will automatically send an inquiry e-mail to the address <<test@bergener-bluma.de>> with the following message text:

    Hello,
    please take care of the following incident!

    Kind regards
    Service team

The subject of the to be sent e-mail includes automatically the ID of the corresponding job in todo4teams and the information that it concerns an inquiry from todo4teams,
Now the Javascript-code for the arrival-action of the mailbox. You may modify the message text and the e-mail address according to your personal needs:



var tdi = new com.proxemo.todo.bom.ToDoInquiry("Hello,\nplease take care of the following incident!\n\nKind regards\nService team", "test@bergener-bluma.de");
var ts = new  com.proxemo.todo.bom.ToDoTaskShell(task);
ts.setInquiry(tdi);
tdi.setCopyAttachments(true);
new com.proxemo.todo.server.action.ToDoCreateInquiryTaskAction().execute(-1, ts);

This example would apply to all incoming mails of the mailbox.
Here you can make further parameterizations such as keywords or senders of mails; please contact our support team at support@bergener-bluma.de for the technical details.