Posts

Showing posts from 2021

How Decision Shape work in Boomi

Image
  How Decision Shape work in Boomi  Decision shape compares two values and based on the result: It will route the document to either a true or false path.    Few points to consider while configuring Decision Shape: For each document, Decision Shape runs for a single time.  If you have one document with 100 records, the Decision shape will not run 100 times. It will check the condition for the first record in that document and route It to either a true or a false path. If you want to check the condition for each record, you need to split the document before the Decision shape so that each record passes as an individual document in decision shape.  Decision shape treats null value from a profile element as blank.  Let's see below example for this scenario: We are taking a JSON file where order value is null Sample Data: Decision shape configure: Will compare order value from profile element with a blank value Process execution and log: Here we can see th...

Implementation of DPP & DPP in Boomi

Image
We will take a simple example to illustrate it. We have a sample Data of 5 records with field CustomerID and OrderID. Data: First , we will split the data into individual documents. As a next step, we will set up CustomerID with DPP and DDP in Set Properties Shape. Boomi Process: Set Properties: To check what values get assigned to those properties, we will compare them with the incoming CustomerID for each document with the property we have set in a set properties shape. With DPP In the first decision shape, we are comparing the CustomerID from each document with DPP_ID. Only one record goes through the true path while the other four go to the false. As DPP has a single instance and stores the latest value, the last document CustomerID gets stored in DPP_ID (i.e. 5) True Path: False Path: With DDP Decision Shape: Here, all documents go on the right path. Since DDP is for each document, there will be one ID generated, so there are five instances of DDP associated with their respect...

Difference between Dynamic Process Property and Dynamic Document Property in Boomi

Image
Definition : Dynamic Process Property or DPP is a single instance name-value pair defined at the process level.  Dynamic Document Property or DDP is a temporary variable associated with the document.  i.e. If there are 100 documents in the process, then there will be 100 instances of DDP will create each associated with their respective documents.  Both DPP and DPP are case-sensitive, So Beware of typos while accessing.  Scope and accesibility: DPP is defined at the process level, while DDP is defined at the document level.  DDP set in one branch cannot be retrieved in the subsequent branch, while Once DPP defined can be accessible afterwards. You have to set the DDP before the branch Shape to access it in all the branch paths.  Data types: DPP and DDP are both stored as a string.  If you want to use numeric or any other date-type values, you need to change the data type before accessing it. Extension and Persistence: DPP can be extended and persisted...

Popular posts from this blog

How Decision Shape work in Boomi

Implementation of DPP & DPP in Boomi

Difference between Dynamic Process Property and Dynamic Document Property in Boomi