It's all about the answers!

Ask a question

Can a script in validator in RTC call a Java method?

Lipi Das (2612435) | asked Jun 18 '14, 10:04 a.m.

Can I call a Java method from a script used in validator in RTC? If so , can anyone help me with an example. Note : the java method I want to call is from my own java class.

I want to do script based validation of a field in a workitem which would require comparision with values that my java method would return.



One answer

permanent link
sam detweiler (12.5k6191201) | answered Jun 18 '14, 11:50 a.m.
edited Jun 18 '14, 11:57 a.m.
I don't think this is possible. (call a java class in a jar file (on the server of course))

it MAY be possible to call another web service to get the data, of course you would have to make your code into another service.  I have not done this, but lots of the web help on dojo seems to imply its possible with ajax calls.

Your answer

Register or to post your answer.