I'm creating a rule that needs to call into some Java code. I also need
to pass along the displayName of the user being added.

What I've done is added a new rule to the matching policy that does a
condition on an Xpath expression. The xpath is "es:callMyStuff()". I
then created the function callMyStuff() in an ecma script object and
was able to get it to create a Java object and call down to it.

So calling to Java is good. Now I cannot get the data down into the
Java code. I've looked at the flowdata object and tried passing it to
my method like so "es:callMyStuff(flowdata)" and then tried to use a
get() call on it in the java script but I get an error stating that get
is not a function.

How can I get the user name into the Java code?


brianhks's Profile: http://forums.novell.com/member.php?userid=6797
View this thread: http://forums.novell.com/showthread.php?t=315175