Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

agent scripts not firing

Status
Not open for further replies.

garwain

Programmer
Jan 30, 2002
461
CA
I have an exchange agent script set up in the oncreate and onchange events

Code:
' DESCRIPTION: This event is fired when a new message is added to the folder
Public Sub Folder_OnMessageCreated
  call RapModification()
End Sub



' DESCRIPTION: This event is fired when a message in the folder is changed
Public Sub Message_OnChange
   debugAppend "?????"
  call RapModification()

End Sub

DebugAppend is a procedure that writes to a text file. My rapModifiaction procedure works fine. What I'm noticing is that on certain contacts in my folder, the onchange event does not fire. I can edit and save one contact, and get the ????? line in my logfile, but the next contact doesn't fire at all, and my log file shows nothing. I've checked the eventlog, and the agent log for script errors, but there's nothing in either. I can edit the first contact again and the script will fire immediatly, but only for that one record, not the 2nd which failed to trigger the event.

Anyone have any ideas as to why the agent does not always fire for the onchange event?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top