Re: On "Window Loaded" active link doesn't see field values???
Rabi, Just an FYI... We ran the 7.1.0 Patch 004 User Tool against our 6.3.0 patch 20 server for 6 months with no problems (the 6 months part was until we could upgrade the server to 7.1.0) Fred -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Wednesday, April 28, 2010 12:56 PM To: arslist@ARSLIST.ORG Subject: Re: On "Window Loaded" active link doesn't see field values??? Phil, This is an interesting piece of information. I will give it a try. Nicky: I wish I could avoid a macro, but I don't know of any other way (than DDE/Macro) another (ACD) application can open a window in Remedy User. Somebody suggested creating and having Windows open a xx.ARTask file, which will trigger a window in Remedy User. This works for a window with empty or default field values, or for showing an existing ticket, but I can't have the ACD application pass field values to a Submit window through ARTask. Or I don't know how. I'm going to start another thread with ACD in the subject line to find out people have their ACD application integrated with Remedy User. Gary: The steps you mentioned doesn't solve the problem of win Open and Win Loaded active links not seeing the field values. Fred: I have the best I can get at v6.3, patch 25. We have 6.3 here, so I am not testing with 7.x. It would be interesting to know what happens in 7. On Tue, Apr 27, 2010 at 1:55 PM, Murnane, Phil wrote: All: Okay, bear with me here because I'm digging _way_ back in my brain. I recall that the interactions between the user's Set Defaults preferences, the Window Open/Loaded firing conditions, and field values were causing our project team some trouble back in the late '90s. One of Remedy's engineers suggested to have the ALs fire on Gain Focus of the first field listed in the tab order for the view instead of using Window Open/Loaded. We took it a step further and created a display-only field that was _always_ first in tab order (the field was named "first in tab order"), and placed it underneath another field so the users wouldn't see it. Something about not being able to use a hidden field for this trick is also tickling my brain. FWIW, --Phil > -Original Message- > From: Action Request System discussion list(ARSList) > [mailto:arsl...@arslist.org] > On Behalf Of Rabi Tripathi > Sent: Tuesday, April 27, 2010 4:14 PM > To: arslist@ARSLIST.ORG > Subject: Re: On "Window Loaded" active link doesn't see > field values??? > > Now it works, when the macro opens an intermediate window, > on which an "on > interval" active links fires after 3 seconds. This on > interval active link > sees all the field values received on the form (and > correctly "processes" > them as I want, and opens the target window with , my main > goal). > > The same active link, when it fires on "Window Load" on the > intermediate or > the target form doesn't work. Meaning can't see the field > values on the form > passed by the macro. > > Now I have a useless window saying "Opening, please > wait..." delaying the > user for 3 seconds before the target window is opened by > the on interval > active link. > > Me not too happy. But don't see any other way out. It's a > bug. > > LJ, thanks for your input. > ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"
Re: On "Window Loaded" active link doesn't see field values???
Phil, This is an interesting piece of information. I will give it a try. Nicky: I wish I could avoid a macro, but I don't know of any other way (than DDE/Macro) another (ACD) application can open a window in Remedy User. Somebody suggested creating and having Windows open a xx.ARTask file, which will trigger a window in Remedy User. This works for a window with empty or default field values, or for showing an existing ticket, but I can't have the ACD application pass field values to a Submit window through ARTask. Or I don't know how. I'm going to start another thread with ACD in the subject line to find out people have their ACD application integrated with Remedy User. Gary: The steps you mentioned doesn't solve the problem of win Open and Win Loaded active links not seeing the field values. Fred: I have the best I can get at v6.3, patch 25. We have 6.3 here, so I am not testing with 7.x. It would be interesting to know what happens in 7. On Tue, Apr 27, 2010 at 1:55 PM, Murnane, Phil wrote: All: Okay, bear with me here because I'm digging _way_ back in my brain. I recall that the interactions between the user's Set Defaults preferences, the Window Open/Loaded firing conditions, and field values were causing our project team some trouble back in the late '90s. One of Remedy's engineers suggested to have the ALs fire on Gain Focus of the first field listed in the tab order for the view instead of using Window Open/Loaded. We took it a step further and created a display-only field that was _always_ first in tab order (the field was named "first in tab order"), and placed it underneath another field so the users wouldn't see it. Something about not being able to use a hidden field for this trick is also tickling my brain. FWIW, --Phil > -Original Message- > From: Action Request System discussion list(ARSList) > [mailto:arsl...@arslist.org] > On Behalf Of Rabi Tripathi > Sent: Tuesday, April 27, 2010 4:14 PM > To: arslist@ARSLIST.ORG > Subject: Re: On "Window Loaded" active link doesn't see > field values??? > > Now it works, when the macro opens an intermediate window, > on which an "on > interval" active links fires after 3 seconds. This on > interval active link > sees all the field values received on the form (and > correctly "processes" > them as I want, and opens the target window with , my main > goal). > > The same active link, when it fires on "Window Load" on the > intermediate or > the target form doesn't work. Meaning can't see the field > values on the form > passed by the macro. > > Now I have a useless window saying "Opening, please > wait..." delaying the > user for 3 seconds before the target window is opened by > the on interval > active link. > > Me not too happy. But don't see any other way out. It's a > bug. > > LJ, thanks for your input. > ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"
Re: On "Window Loaded" active link doesn't see field values???
:)good luck with it...it's ugly...but the main concern is you got it working, right? -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Tuesday, April 27, 2010 4:14 PM To: arslist@ARSLIST.ORG Subject: Re: On "Window Loaded" active link doesn't see field values??? Now it works, when the macro opens an intermediate window, on which an "on interval" active links fires after 3 seconds. This on interval active link sees all the field values received on the form (and correctly "processes" them as I want, and opens the target window with , my main goal). The same active link, when it fires on "Window Load" on the intermediate or the target form doesn't work. Meaning can't see the field values on the form passed by the macro. Now I have a useless window saying "Opening, please wait..." delaying the user for 3 seconds before the target window is opened by the on interval active link. Me not too happy. But don't see any other way out. It's a bug. LJ, thanks for your input. Nicky: About your question, the field values I want the active links to "see" are the ones sent as macro parameters, not field defaults. --- On Tue, 4/27/10, Rabi Tripathi wrote: > From: Rabi Tripathi > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > Date: Tuesday, April 27, 2010, 12:39 PM > 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 > wrote: > > > From: Rabi Tripathi > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: arslist@ARSLIST.ORG > > 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 > > wrote: > > > > > From: LJ LongWing > > > Subject: Re: On "Window Loaded" active link > doesn't > > see field values??? > > > To: arslist@ARSLIST.ORG > > > 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 > athappens > > 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:arsl...@arslist.org] > > > On Behalf Of Rabi Tripathi > > > Sent: Thursday, April 22, 2010 11:19 AM > > > To: arslist@ARSLIST.ORG > > > 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 > > >
Re: On "Window Loaded" active link doesn't see field values???
Rabi, what mode is the new window opened in - submit, query, modify, dialog? The behaviour you describe is strange, it has always been working for me, i stopped using macros in workflow since the open window became an option and never ever had problems. I thing the easiest way to make it work is to check all triggering criteria and to run the AL log, make sure there is an active link printing the value of the field you are interested in (the one that gets lost ), just check them all and you will find out what sets the fields to null. Also, in the open window action there is a check box "Set Fields to Defaults" - make shure that it is not checked. In principle the open window have to provide the same behavior as run macro in the past:) Regards, Nicky Madjarov phone: 973-202-4278 Find out how to bust your AR System performance @ http://www.SpeedUpARS.com - Original Message - From: "Rabi Tripathi" Newsgroups: public.remedy.arsystem.general To: Sent: Tuesday, April 27, 2010 6:14 PM Subject: Re: On "Window Loaded" active link doesn't see field values??? Now it works, when the macro opens an intermediate window, on which an "on interval" active links fires after 3 seconds. This on interval active link sees all the field values received on the form (and correctly "processes" them as I want, and opens the target window with , my main goal). The same active link, when it fires on "Window Load" on the intermediate or the target form doesn't work. Meaning can't see the field values on the form passed by the macro. Now I have a useless window saying "Opening, please wait..." delaying the user for 3 seconds before the target window is opened by the on interval active link. Me not too happy. But don't see any other way out. It's a bug. LJ, thanks for your input. Nicky: About your question, the field values I want the active links to "see" are the ones sent as macro parameters, not field defaults. --- On Tue, 4/27/10, Rabi Tripathi wrote: From: Rabi Tripathi Subject: Re: On "Window Loaded" active link doesn't see field values??? To: arslist@ARSLIST.ORG Date: Tuesday, April 27, 2010, 12:39 PM 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 wrote: > From: Rabi Tripathi > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 > wrote: > > > From: LJ LongWing > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: arslist@ARSLIST.ORG > > 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 athappens > 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:arsl...@arslist.org] > > On Behalf Of Rabi Tripathi > > Sent: Thursday, April 22, 2010 11:19 AM > > To: arslist@ARSLIST.ORG > > Subject: On "Window Loaded" active link doesn't see >
Re: On "Window Loaded" active link doesn't see field values???
Now it works, when the macro opens an intermediate window, on which an "on interval" active links fires after 3 seconds. This on interval active link sees all the field values received on the form (and correctly "processes" them as I want, and opens the target window with , my main goal). The same active link, when it fires on "Window Load" on the intermediate or the target form doesn't work. Meaning can't see the field values on the form passed by the macro. Now I have a useless window saying "Opening, please wait..." delaying the user for 3 seconds before the target window is opened by the on interval active link. Me not too happy. But don't see any other way out. It's a bug. LJ, thanks for your input. Nicky: About your question, the field values I want the active links to "see" are the ones sent as macro parameters, not field defaults. --- On Tue, 4/27/10, Rabi Tripathi wrote: > From: Rabi Tripathi > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > Date: Tuesday, April 27, 2010, 12:39 PM > 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 > wrote: > > > From: Rabi Tripathi > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: arslist@ARSLIST.ORG > > 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 > > wrote: > > > > > From: LJ LongWing > > > Subject: Re: On "Window Loaded" active link > doesn't > > see field values??? > > > To: arslist@ARSLIST.ORG > > > 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 > athappens > > 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:arsl...@arslist.org] > > > On Behalf Of Rabi Tripathi > > > Sent: Thursday, April 22, 2010 11:19 AM > > > To: arslist@ARSLIST.ORG > > > 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 &
Re: On "Window Loaded" active link doesn't see field values???
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:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Tuesday, April 27, 2010 11:40 AM To: arslist@ARSLIST.ORG 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 wrote: > From: Rabi Tripathi > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 > wrote: > > > From: LJ LongWing > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: arslist@ARSLIST.ORG > > 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 athappens > 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:arsl...@arslist.org] > > On Behalf Of Rabi Tripathi > > Sent: Thursday, April 22, 2010 11:19 AM > > To: arslist@ARSLIST.ORG > > 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). > > > > > > > > > > >
Re: On "Window Loaded" active link doesn't see field values???
All: Okay, bear with me here because I'm digging _way_ back in my brain. I recall that the interactions between the user's Set Defaults preferences, the Window Open/Loaded firing conditions, and field values were causing our project team some trouble back in the late '90s. One of Remedy's engineers suggested to have the ALs fire on Gain Focus of the first field listed in the tab order for the view instead of using Window Open/Loaded. We took it a step further and created a display-only field that was _always_ first in tab order (the field was named "first in tab order"), and placed it underneath another field so the users wouldn't see it. Something about not being able to use a hidden field for this trick is also tickling my brain. FWIW, --Phil -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Nicky Madjarov Sent: Tuesday, April 27, 2010 13:32 To: arslist@ARSLIST.ORG Subject: Re: On "Window Loaded" active link doesn't see field values??? Hi, Are you referring to default values? These are controlled by the options setting on user tool/ user preferences resp. I believe that if you record a macro setting the defaults becomes part of it. Give it a try. Regards, Nicky Madjarov phone: 973-202-4278 Find out how to bust your AR System performance @ http://www.SpeedUpARS.com - Original Message - From: "Rabi Tripathi" Newsgroups: public.remedy.arsystem.general To: Sent: Thursday, April 22, 2010 1:18 PM 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"
Re: On "Window Loaded" active link doesn't see field values???
You say 6.3 ... What patch level of 6.3 and what User tool version (and patch) are you seeing the issue with? I'm also wondering if you have tried using the latest 7.1.x or 7.5.x User tool. Fred -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Tuesday, April 27, 2010 11:35 AM To: arslist@ARSLIST.ORG Subject: Re: On "Window Loaded" active link doesn't see field values??? 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 wrote: > From: LJ LongWing > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 athappens 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:arsl...@arslist.org] > On Behalf Of Rabi Tripathi > Sent: Thursday, April 22, 2010 11:19 AM > To: arslist@ARSLIST.ORG > 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"
Re: On "Window Loaded" active link doesn't see field values???
Hi, Are you referring to default values? These are controlled by the options setting on user tool/ user preferences resp. I believe that if you record a macro setting the defaults becomes part of it. Give it a try. Regards, Nicky Madjarov phone: 973-202-4278 Find out how to bust your AR System performance @ http://www.SpeedUpARS.com - Original Message - From: "Rabi Tripathi" Newsgroups: public.remedy.arsystem.general To: Sent: Thursday, April 22, 2010 1:18 PM 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"
Re: On "Window Loaded" active link doesn't see field values???
Okif everything else bombs out...how bout thiscreate a 'fired' flag. Have an AL that fires every 3 seconds (on interval) if 'fired' is null, have it do the AL actions you need, and set 'fired' to 'yes' or somethingwouldn't happen before the window finishes loading but would happen within 3 seconds...and wouldn't fire again...it's kludgy and ugly...but it would work. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Tuesday, April 27, 2010 10:35 AM To: arslist@ARSLIST.ORG Subject: Re: On "Window Loaded" active link doesn't see field values??? 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 wrote: > From: LJ LongWing > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 athappens 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:arsl...@arslist.org] > On Behalf Of Rabi Tripathi > Sent: Thursday, April 22, 2010 11:19 AM > To: arslist@ARSLIST.ORG > 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"
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 wrote: > From: Rabi Tripathi > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 > wrote: > > > From: LJ LongWing > > Subject: Re: On "Window Loaded" active link doesn't > see field values??? > > To: arslist@ARSLIST.ORG > > 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 athappens > 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:arsl...@arslist.org] > > On Behalf Of Rabi Tripathi > > Sent: Thursday, April 22, 2010 11:19 AM > > To: arslist@ARSLIST.ORG > > 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"
Re: On "Window Loaded" active link doesn't see field values???
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 wrote: > From: LJ LongWing > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: arslist@ARSLIST.ORG > 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 athappens 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:arsl...@arslist.org] > On Behalf Of Rabi Tripathi > Sent: Thursday, April 22, 2010 11:19 AM > To: arslist@ARSLIST.ORG > 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"
Re: On "Window Loaded" active link doesn't see field values???
Rabi, I recommend having AL Logging turned on and see if the field is being set some time after the AL you are looking athappens 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:arsl...@arslist.org] On Behalf Of Rabi Tripathi Sent: Thursday, April 22, 2010 11:19 AM To: arslist@ARSLIST.ORG 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"
Re: On "Window Loaded" active link doesn't see field values???
When a certain macro runs, I want th To put the question differently: When a certain macro runs, I want the submit window it opens to behave slightly differently than if the window opens any other way. How can I have an active link detect the fact that the window was opened by a certain macro? The bigger story is that I have an external application doing a DDE call to Remedy User to open the ticket window for submit and populate a few fields, including requester's login. I want a user lookup to happen with login as the key, if the ticket submit window opens this way. --- My current solution is to have the macro invoked by DDE set a hidden temp field to a certain value. Then an active link firing on "Window Loaded" has a run if that is true only if that field has that value. This method is not working, because this active link sees this field as blank. However, when the window opens, I see the value in the field. So, the field is getting the value after Window Loaded event has completed. Weird. That's not what I read on the 6.3 Basic manual and that's not how I thought it worked. --- On Thu, 4/22/10, Rabi Tripathi wrote: > From: Rabi Tripathi > Subject: On "Window Loaded" active link doesn't see field values??? > To: arslist@arslist.org > Date: Thursday, April 22, 2010, 1:18 PM > 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"
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"