Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Using a Dynamic Process Counter Within Dell Boomi Tutorial

Cesar Cordero

Dell Boomi continues to lead the iPaaS platform and for a third year in a row, Dell Boomi AtomSphere, a leading provider of Integration Platform as a Service (iPaaS), has again been positioned by Gartner, Inc., in the “Leaders” quadrant of the Magic Quadrant for Enterprise iPaaS.

Tallan’s Dell Boomi Certified development team is constantly and regularly providing content and context to help our clients achieve their integration goals with our preferred iPaaS platform.

This Tallan video explains the use of a dynamic process counter that can be used to iteratively repeat over a process in a loop until a particular “count” has been met or exceeded.

This is useful and very common in most programming use cases but not as straightforward to implement dynamically in a Dell Boomi Process.

 

The Data Process Shape uses the following Groovy code:

 

import java.util.Properties;

import java.io.InputStream;

import com.boomi.execution.ExecutionUtil;

 

for( int i = 0; i < dataContext.getDataCount(); i++ )

{

            InputStream is = dataContext.getStream(i);

            Properties props = dataContext.getProperties(i);

          // Retrieve current Process Property value

         propValue = ExecutionUtil.getDynamicProcessProperty(“MyCounter”);

 

           // Convert string value to int to do math

           int intValue = Integer.parseInt(propValue);

            boolean_variable= true;

 

         // Increment value by 1

         intValue = intValue + 1;

 

        // Convert int value back to String

        propValue = Integer.toString(intValue);

 

       // Set the process property

       ExecutionUtil.setDynamicProcessProperty(“MyCounter”, propValue, boolean_variable);

  dataContext.storeStream(is, props);

}

 

             

 

 

 

Dell Boomi AtomSphere

The Dell Boomi AtomSphere integration platform is a shared-everything, multi-tenant platform that supports cloud-to-cloud, SaaS-to-SaaS, cloud-to-on-premises, on-premises-to-on-premises and B2B integration. Boomi AtomSphere supports real-time integration and elastically scales to meet high-volume needs in mobile, batch (ETL) and EDI environments. Easily accessed via a browser, it delivers an impressive range of integration, master data management (MDM) and platform extension capabilities.

Tallan Integration Solutions for Dell Boomi Tallan is a certified Dell Boomi Partner specializing in iPaaS platform integrations. Leverage Tallan’s vast integration experience for your AtomSphere platform needs.  Our certified architects and developers provide the expertise, best practices, and guidance to deliver a successful integration solution.

We hope these improvements will help you in your use of AtomSphere. If you have any questions or comments, or need assistance with any Integrations or development questions, please contact us at integrations@tallan.com.

 

Thank you,

The Tallan Integrations Team

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

\\\