The Send Event is designed to send to an already existing window.

The question is how you are getting to this Child window.  If you are coming 
from the Parent window (and you open the child as a new window) then the send 
event should do what you need.  If you are coming directly from the child 
(parent window Not open) then I would probably do something like a filter Push 
fields to the Parent pushing something to a workflow field to trigger filters 
set to check the count of open children and if 0 perform the close.

Fred

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Brien Dieterle
Sent: Tuesday, October 06, 2009 1:04 PM
To: [email protected]
Subject: send event after open window, midtier

**
I'm hitting the open window, send event issue on the midtier.  Couldn't find 
much in the recent arslist to explain what to do exactly to get around it.  The 
workflow guide states:

"To solve this issue for the web client, create the workflow so that the parent 
or child window is loaded, and then the send event action is executed."

That's a well and good suggestion, but I am not exactly sure how to actually 
implement this.  I have an AL that fires after-modify of a child form, that I 
want to open a window to the parent form and THEN send an event to.   I made 
two separate ALs, one to open the window (exec order 0), and then another to 
send the event (exec order 2)-- but it still doesn't work.  It DOES work on the 
user tool, and it DOES work on the midtier if I already have the parent form 
open.  Very frustrating.  The only good thing is that the behavior is 
consistent between Firefox and Internet Explorer :-).

Any ideas on how to implement this?  My end goal is to have the parent ticket 
modified such that when ALL children are closed the parent is also closed.  I 
couldn't think of a better way than to open the parent, send an event to 
trigger an AL to: refresh a table field of open children and perform a colcount 
and close the ticket if colcount=0

midtier 7.5p1


Thanks!

Brien Dieterle



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to