The MSPro Boomi Collection
About
ScriptEase For Boomi
ScriptEase For Boomi
  • ScriptEase
    • ScriptEase Development Environment
    • What AI says!
      • The limits of AI ...
  • Software Installation
    • Install a local Atom
  • Project Setup
    • IntelliJ Configuration
    • Verify Project Setup
  • Concepts
    • Use Test Data
  • Examples
    • 1 - Debug an existing process script
    • 9 - Aggregate Prices Example
  • Test Contexts
    • The Process Call Chain
  • Download
  • 💤Appendix
    • Script Templates
    • Java thoughts and recommendations
      • Chose newer JVM for local development
    • Boomi documentation and links
    • Initialize IntelliJ Templates
    • Script Contexts
  • Troubleshoot
    • Java the weed
    • ClassNotFoundException - GroovyStarter
    • Invalid VCS root mapping
    • An illegal reflective access operation has occurred
    • UnauthorizedAccess Error
  • Licensing
    • License Activation
    • Privacy Policy
Powered by GitBook
On this page
  • Script functionality
  • Use the Map Script in Boomi
  1. Project Setup

Verify Project Setup

Last updated 6 months ago

Open msgHelloWorld.groovy and set a breakpoint on line 27 (left click on the line number).

Open Test_HelloWorld.groovy, click on the green arrows beside line no 16 and Debug 'Test_HelloWorld'.

The script compiles, runs and stops at the Breakpoint, with an open Debugger Windows (Threads & Variables).

Find out, how to "Setop Over" line-by-line and halt after the addition. Check the Variables.

In the IDE watch the yellow and red markers in the editor to the right. Also the yellow warning exclamations on the top. Click on ti the open the Problems window.

Find the Database window.

Use ctrl + shift / or ctrl + / for comments.

Script functionality

Have a look at the Map Script itself that simply adds two values:

// This is the script's logic - not too much ...
total = a + b

See the test has passed and check the output (log messages):

Resume or Stop the execution.

See also An illegal reflective access operation has occurred

Use the Map Script in Boomi

Copy and paste the script code to Boomi and do not forget to define the Inputs and Outputs which you are using in your script:

Write a test process with a Map that uses the Map Script and Test it in Boomi. Check the Logs!!!

TIP!

💡
Hello World with active Breakpoint
Run Test
Debugger Window: Code execution stopped at breakpoint
IntelliJ on halt - breakpoint hit
Script output
Debugger Execution Controls
Map Script in Boomi