The Scripted input mode enables you to dynamically generate the message from a script or Java class. 

Configuration

  1. Enable Use data source to include values from a connected data source. 
  2. Choose a language from the menu. The following scripting languages are natively supported:
    • Groovy
    • Java
    • JavaScript (Oracle Nashorn and legacy implementations)
    • Jython
  3. Do one of the following:
    • For scripting languages, choose either the Text or File option. The Text option enables you to manually add your script in a text input field. The File option enables you to browse for an external script file that will be executed when the tool is called.
    • For Java, enter the class name in the Class field. The class must be on the classpath. Click Modify Classpath to add classes.
  4. Choose a method to check from the Method field and click Evaluate to verify that the method does not contain errors. For general guidelines on adding methods, see Extensibility and Scripting Basics.
  • No labels