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:
The second Value of the Decision Shape Parameters should be set as follows:
When completed the decision shape configuration windows should look something like this:
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.
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:
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 firstname.lastname@example.org.
The Tallan Integrations Team