Develop and Sync Scripts

Developing and testing Groovy Scripts is a pain ... if you don't have ScriptEase.

Here is the description how to connect and synchronize your local Scripts with your Boomi Integration repository. Developing is fun then!

Start and develop and test your script using ScriptEase.

Preparation - One-time setup

You cannot create new scripts from the command-line but you can pull or push existing scripts to your local workspace. For that reason, you start creating a new plain script in Boomi Integration.

Plain / blank Script

Once done, run a bc CODE PULL to update your local Workspace - to pull the created script. You will find it then on your local hard-disk.

The last step is to create a symbolic link from file that is synchronized with Boomi Integration (source - Boomi Console Workspace) to the file in your development space (target - ScriptEase Workspace).

Using symbolic links (with Windows) allows you to have one physical file (the one in your ScriptEase development Workspace) and any number of (symbolic) links to that file. The file-explorer will clearly state: it is a symbolic link. You can safely remove the link without deleting the physical file.

But before you can create that link, you must rename or delete the blank script you just downloaded.

...\Code\script\98 - Sandbox  <<<<<<<< this is the directory where you are
-----------------------------------

del "...\98 - Sandbox\psgBCVersion.49a7eafc.groovy"

mklink 
  "...\98 - Sandbox\psgBCVersion.49a7eafc.groovy"  // PUSH / PULL 
  "...\MyScripts\src\gpg\psgBCVersion.groovy"      // Development Environment
  
  
symbolic link created for 
  psgBCVersion.49a7eafc-7907-44bf-99e1-584eb8b821f6.groovy 
  <<===>> 
  ...\MyScripts\src\gpg\psgBCVersion.groovy

Finally, CODE PUSH your local change to Boomi Integration repository.

Last updated