I have an exchange agent script set up in the oncreate and onchange events
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?
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?