Hi 

I have a situation where a third party application raises an event (it calls 
ARProcessEvent) and passes a string.  I need to process the string by ly 
looking up a value based on the string using a javascript function.  I want to 
do this in the simplest most convenient way possible.

So my idea was to do it like this (please correct me if there are better ways):

A) Respond to event by creating an active link which is fired by Event 
(Execution Options, Event ticked).

B) This active link grabs the text passed in $EVENTTYPE$ and $EVENTDATA$ 
variables and calls a call guide.

C) Call guide contains an active link which uses the string text in $EVENTTYPE$ 
and $EVENTDATA$ and calls the javascript function and stores the result.

D) After call guide runs active link that called call guide (ie orignal active 
link fired by event has a second If action which creates a Message using the 
result from step C) above like this:

Hi $USER$ your message is $STORED_MESSAGE$

So my questions are:

Is this the right way to do it?

Are the $EVENTTYPE$ and $EVENTDATA$ variables which are generated from the 
first active link event available to the call guide active link?  If not how do 
I pass the call guide active link the data?  Can I just create a variable on 
the fly?  Or does Remedy not work like that?  If not do I store in a hidden 
field?  What are the options?

How do I use the result from the call guide active link by the other active 
link?  Same sort of question as above?

Any help would be much appreciated.

Angus

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to