Home > Domino Tips > True Domino Bloopers > True Domino Blooper #19: Unpredictable unprocessed documents
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

TRUE DOMINO BLOOPERS

True Domino Blooper #19: Unpredictable unprocessed documents


Kurt Ringleben
01.03.2003
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This Domino developer got into a tight squeeze when an agent using the unprocessed document property ran amok. Read on and see what caused the disaster and how our hero saved the day.


I was working for a company that had a Web site with online forms (non-Notes) for easy submission.

Upon submitting a form, the result was an e-mail in a Notes mail-in database, which contained a "When new mail has arrived" agent. This agent was designed to send an auto-reply with a message indicating the submission had arrived, and that it would be routed to the proper company employee. This part was written in LotusScript. The agent contained the "Unprocessed document" property. Developers, are you grinning? I know my colleague was when I started explaining what had happened.

I was asked to modify the document flow that follows after the auto-reply. After several hours of programming and testing in a development environment, it was (that is, I thought it was) ready, and I let the administrator perform a "refresh design" on the production server. Fortunately I was looking over his shoulder, because he didn't notice the status bar telling him that about 1500 e-mails had been sent! All the e-mails in the inbox of the mail-in database were auto-replied again. (Archiving the e-mails was scheduled for later.) Some e-mails were more than a year old (ouch!).

What had happened?
Modifying the agent (just saving it again will suffice) resulted in resetting the "unprocessed document" property on all the existing documents. So all the documents were unprocessed once more according to my agent.

Later that day we sent an e-mail to all the submitters telling them that our systems had made a mistake and that they should ignore the e-mail. It's always those stupid computers.

I learned from this blooper! Oh, yes! I got to know the "unprocessed document" property very well. And ever since then, I always ask for a copy of the production database. This way I am sure that I have a representative set of testing documents.


Do you have your own blooper? Send it in and claim your fame.

Every story in our bloopers series comes to us directly from a SearchDomino.com administrator, developer or consultant. For obvious reasons, some contributors -- including this tale's author -- choose to remain anonymous.

MORE ON THIS TOPIC:

Read all SearchDomino.com's true bloopers.
View our Best Web Links on Domino/Notes administration.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
True Domino Bloopers
True Domino Blooper #29: Agent OOPS
True Domino Blooper #28: The Super Server Upgrade
True Domino Blooper #27: Blame it on Domino
True Domino Blooper #1: The Out-Of-Office nightmare
True Domino Blooper #2: Independence Day blunder
True Domino Blooper #3: Return to sender
True Domino Blooper #4: Extended directories or bust!
True Domino Blooper #5: I'm not a Notes expert, but I play one on TV
True Domino Blooper #7: AdminP worm unleashed
True Domino Blooper #8: With vacations like this, who needs work?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts