× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Another approach:

I was asked to write a program that would issue email messages in response to activity completion in our CRM product (Wintouch). And if the activity had attachments, it had to include the attachments in the message.

The only problem is that the exit point from which I would be launching this was called AFTER the activity record was written, but BEFORE the attachments had been saved to the IFS.

So after a bit of hemming and hawing, I came up with a solution: the attachment program checks to see if the "attachment" flag on the record is set, and if it is, it spawns itself off as a delayed batch job, and if the spawned-off emailer still didn't see the attachment, it would sleep (a second at a time, as I recall), while waiting for the attachment to be written.

Surely, if all else fails (and assuming your duplicate-processing program deals with the duplicates, rather than just checking for them), you could spawn it off as a batch job.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.