Implementation of DPP & DPP in Boomi
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)
- With DDP
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 respective documents.
When the first document goes through Decision shape, it compares the CustomerID of the first document with the First Instance of DDP_ID value As both have values set to '1' it goes to the right path. Similarly, four other documents get processed and go down the right paths
Comments
Post a Comment