How Decision Shape work in Boomi
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:
Decision shape configure:
Will compare order value from profile element with a blank value
Process execution and log:
Process execution and log:
Here we can see that Boomi is considering this as true so sending it to the true path.
Now take a scenario where we will compare profile element value with a null value:
Process execution and log:
Now here we are comparing null with null but since treat null from the profile element as an empty string it is sending it to false path.
Comments
Post a Comment