The information to be returned from the Java dialog application is defined in a hash map that is set into the application data before the application returns.
DirectTalk directTalk;
HashMap map = new HashMap();
String Bob="yes";
String Fred="no";
map.put("Bob",Bob);
map.put("Fred",Fred);
directTalk.setApplicationData(map);
directTalk.returnCall(actionStatusEvent);
<transition event="dialog.exit" name="evt">
<!-- issue test message including returned values -->
<log expr="'Value of Bob '+evt.values.Bob">
<log expr="'Value of Fred '+evt.values.Fred">
</transition>