Rabi, just put a read only radio button on the form and have the macro set that button on window open. Then, have your workflow that you want to fire when the macro runs to run only if that radio button is set.
Thanks, Gary Opela, Jr. Sr. Remedy Engineer Avaya Phone Admin RSP Cert, Sec+ COMM: 405 582 4272 -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Rabi Tripathi Sent: Tuesday, April 27, 2010 11:40 AM To: [email protected] Subject: Re: On "Window Loaded" active link doesn't see field values??? I absolutely hate to do this, but I can have an "on interval" active link fire on the window with interval of 1 sec. When the target window opens this way, I am expecting that the window loaded active links there will see the field values. Somebody tell me there's a different way to do this. Not to mess up the main form, I will go with an intermediate form that is opened by the macro on which after a sec an AL will fire to open the main ticket window and close the intermediate window. Ugly ugly. --- On Tue, 4/27/10, Rabi Tripathi <[email protected]> wrote: > From: Rabi Tripathi <[email protected]> > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: [email protected] > Date: Tuesday, April 27, 2010, 12:35 PM > LJ, log trace is not helping. There > are no active links clearing the fields. > > I have found absolutely no way to have active links (Win > Open, Win Loaded) read values passed to a window, if the > window was **opened by a macro**!! > > All fields appear blank to these active links, although, > when the window fully opens, all the values are right there > for me to see! It appears that when a macro opens a window, > there is something funky (I say bug) which makes the field > values load *after* the Window Loaded event has completed. > :( > > I tried opening the same window with code (open win action) > and passed values; these values are correctly seen by the > active links on that form. I tried playing with different > window modes no luck. > > I need to trigger code before the window fully opens, based > on value received by the window from the macro. Can't be > done??? > > > > > --- On Thu, 4/22/10, LJ LongWing <[email protected]> > wrote: > > > From: LJ LongWing <[email protected]> > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: [email protected] > > Date: Thursday, April 22, 2010, 1:51 PM > > Rabi, > > I recommend having AL Logging turned on and see if > the > > field is being set > > some time after the AL you are looking at....happens > to me > > all the time...I > > have AL1 set to fire if value = X, but AL2 fires at a > later > > execution order > > setting the field... > > > > -----Original Message----- > > From: Action Request System discussion list(ARSList) > > [mailto:[email protected]] > > On Behalf Of Rabi Tripathi > > Sent: Thursday, April 22, 2010 11:19 AM > > To: [email protected] > > Subject: On "Window Loaded" active link doesn't see > field > > values??? > > > > I have an active link firing on "Window Loaded". It > sees a > > field as having > > no value when it fires. That makes me not happy, > because > > the value is there > > or should be there. > > > > The submit window is opened by a macro with a > parameter, > > and the macro is > > correctly populating the parameter value on the field. > I > > can see it when the > > window is fully open (meaning active links have all > > completed firing). > > > > When a submit window opens, my understanding is that > by the > > time "Window > > Loaded" event occurs, all field values (set by "set > to > > default" feature, > > sent with a macro etc) should already be there on the > > fields, such that on > > Window Loaded active links should see the values. > > > > Why is my active link not seeing the field value? I > put a > > debug message, and > > yes, the field is blank when the active links fires. > But > > the value gets to > > the field, when the window has opened fully. > > > > ???? > > > > ARS 6.3. > > > > from the doc: > > Window Loaded Executes after all the data values have > been > > loaded into a > > Submit or Search window (from defaults, from a copy > to > > new, > > or from an open window action). > > > > > > > > > > > ____________________________________________________________________________ > > ___ > > UNSUBSCRIBE or access ARSlist Archives at > www.arslist.org > > attend wwrug10 www.wwrug.com ARSlist: "Where the > Answers > > Are" > > > > > _______________________________________________________________________________ > > UNSUBSCRIBE or access ARSlist Archives at > www.arslist.org > > attend wwrug10 www.wwrug.com ARSlist: "Where the > Answers > > Are" > > > > > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

