Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Workstep template management : Working with workstep template states : Using PreJavaScript
 

Using PreJavaScript

The following APIs help to set and retrieve the pre-JavaScripts:
*public void setPreJavaScript(java.lang.String prejs)
Sets the pre-JavaScript code related to this workstep.
*public String getPreJavaScript()
Helps in retrieving the pre-JavaScript related to this workstep.