Tallan's Technology Blog

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

Setting Verbose mode for a Boomi Process using Dynamic Process Property

Setting Verbose mode for a Boomi Process using a Dynamic Process Property

In most instances developers will have to accommodate certain reporting, notification and logging requirements of a given interface within the Dell Boomi AtomSphere platform.
Often times, the logging or emailing may need to be disabled for testing and/or faster iterative cycling through test cases and, of course, to not annoy the user community with email test messages.
The most straightforward way to accomplish or implement a verbose or Test Mode Boolean flag (as is very common in other platforms) is to create and enable a Dynamic Process Property and then assign its default value while allowing to reassign the same with extensions directly after deployment.


Let’s start by demonstrating the use case above without the Boolean verbose flag. In the following Boomi Process we have a very basic try/catch shape attempting to pick up a file and when successful processing on to subsequent steps.
During testing, particularly of negative test cases, we’d be very interested in the “Catch” path in order to implement a robust exception handling pattern. However also during testing we may not want to have emails sent to the Distribution List as to not annoy our user community.
In the process below there is no evaluation to determine if we are in “debug” mode doing unit testing or if we are in end-to-end system testing. In other words, the Catch path will always fully execute:

blog1
We will begin by adding and then configuring a “Decision” shape to create the dynamic process property and set its default value:

decisionshape
In the decision Shape above chose the search icon from the First value field and select dynamic process property, Set Property Name to ‘EmailEnabled’ and default Value to ‘False’ as show here below:

dpp1

The second Value of the Decision Shape Parameters should be set as follows:

secondvalue

When completed the decision shape configuration windows should look something like this:

desicion2

We will place our new decision shape in the “Catch” shape/path of our process to evaluate if the “EnabledEmail” Boolean dynamic process property is enabled.

bool5

If we run this process in TEST mode, given the default value we assigned earlier, we will default to “FALSE” and NOT execute the event log entries and email sending.
It actually gets better if we enable Dynamic Property extensions allowing us to turn the Boolean off and On “on-the-fly” in production!
Choose the “Extensions” menu and then the Dynamic Process Property and add the name of the DPP:

bool6

Please refer to our Boomi Extensions Blog if you need more details or help on the use of extensions in Dell Boomi’s AtomSphere.

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>