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" <[email protected]>
Newsgroups: public.remedy.arsystem.general
To: <[email protected]>
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 <[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: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 <[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"