Dear rg25,
I think the only detail that might not be obvious is the Any value
assigned to result is actually a value reference to the
com.remedy.arsys.api.Value objects. So if you can cast or construct
Value objects then those can be returned in the result array from the
ARF Plugin to ARS. This design is so that the dataTypes can be mapped
to ARS data fields that the returned elements are in turn mapped to at
the ARS Form level.
So in short not just any Java Object can be understood and mapped to
ARS dataTypes. (But I find it likely that the plugin does auto detect
primitives and convert them to Value objects for you. But that is just
a guess.)
HTH.
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)
Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap Pick two.
On Dec 21, 2007 1:14 AM, rg25 [EMAIL PROTECTED] wrote:
Hi all.
I use Java Scripting Plug-in in the following structure (where '=' mean
call and return):
Filter=script=external java application
All is OK if I return java primitives or their collection from external
java application to Filter via script.
But now I need to return collection of java objects defined by user by the
same way.
This is description of Java Scripting Plug-in:
Provide script source code that implements the script functionality. For
all languages, scripts can reference a collection named values which
contains any input parameters passed to the script. Any value assigned to
result becomes the output of the script. The result can contain a single
value (string, integer, etc.) or an array of values.
How I have understood there is no chance to make it or I am not right?
Probably is exists a similar plug-in with the expanded opportunities?
Can you help me to solve this problem?
Thanks in advance
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are