Agent doesnt' start running... why?

This seems real simple… but it’s not?I have a database that people add documents to from a browser - they fill out a simple form and click SUBMIT. The SUBMIT button does the following COMPLEX formula:

@Command([FileSave]);

@Command([FileCloseWindow])

I feel that I should be able to create an agent that Upon New Documents Created… it sends a Mail Message to someone… Why does that NOT HAPPEN?

The agent is set as follows:

Trigger: Agent list selection

Target: All new & modified documents

Action: SEND MAIL (simple action) - with a valid name in the send to line picked from the Dialog List that offers the address book.

WHAT AM I MISSING? HOW HARD CAN THIS BE???

Subject: Agent doesnt’ start running… why?

Ruth,

You chose “Agent list selection” which means either you or your code has to call the agent to start it. If you want the agent to run automatically whenever there are new or modified docs you have to choose that option instead.

Ken

Subject: well heck!

… I knew that… that was a test… LOL…

Subject: well heck! - still doesn’t work

Subject: RE: well heck! - still doesn’t work

What is the error you get on the server console?The agents always generate some sort of an error when they don’t run.

Subject: cant log an error if it’s not running.

If it’s not running… how can it generate an error? It’s not like it’s TRYING to run and can’t… it’s just not running. When I look in the agent Log… it says this agent had never been run.