View Single Post
  #4 (permalink)  
Old July 24th, 2007, 14:45
andyp222 andyp222 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 11
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 5 Times in 4 Posts
Rep Power: 0
andyp222 is on a distinguished road
Smile Re: Events sitting in $publishWait queue (v4.5)

Was due to the using a RAISE EVENT within the Shipment Modify Agent. For various reasons we had a main Shipment Modify agent that did a series of RAISE EVENT actions to call other Agents (working on the same Shipment). This caused the original agent to hang and never complete. Also tried FOR EACH, but this had the same issue.

RAISE EVENT on objects other than the shipment (e.g. related OR's seems to work fine).

To workaround this we took all the code and put it into a single Shipment Modify Agent and all works OK now.
The Following User Says Thank You to andyp222 For This Useful Post:
chrisplough (September 3rd, 2007)