Calling Java through JavaScript (deprecated)
JavaScript inside Business Automation Workflow can invoke Java™ through the Live Connect technology.
LiveConnect is the name of an application programming interface that provides JavaScript with the ability to call methods of Java classes and vice-versa using the existing Java infrastructure.