We cannot do any parsing in JSON.
The final option is to use a code block like Python, Ruby in intermediary step and have the required transformation, later you can map the output of code block to Reltio connector.
I would suggest to use code block as FINAL option only.
Original Message:
Sent: 07-20-2023 13:36
From: Chetan P
Subject: Json parsing in RIH
Hi Sheshadri,
I tried all possible combinations using conditional statements functionality, but unable to get desired requirement satisfied.
May be i need to explain elaborately.
Thanks & Regards,
------------------------------
Chetan P
Lead MDM Specialist
Freshworks
Chennai
Original Message:
Sent: 07-20-2023 10:48
From: Sheshadri V
Subject: Json parsing in RIH
Hi Chetan,
Are you mapping this to Nested/Simple Attributes?
If Nested then i would still say that conditionals is the right one to be implemented.
If you are unable to use conditionals let me know we can have a catchup once
------------------------------
Sheshadri V
Fresh Gravity
Original Message:
Sent: 07-19-2023 12:44
From: Chetan P
Subject: Json parsing in RIH
Hi Sheshadri,
We have used conditional formatting option, but this requirement needs something in json parsing i believe.
Example -If we look over this example, to map the relevant if condition or output field we only have ingested data -> ingestion -> value in metadata.
But what is needed is, while getting the response we are getting data in above mentioned format.
Even to have some IF condition, i must be able to first toggle between the key values.
Configuration -

Response from API

Was looking for a way to achieve this.
Thanks & Regards,
------------------------------
Chetan P
Lead MDM Specialist
Freshworks
Chennai
Original Message:
Sent: 07-19-2023 08:35
From: Sheshadri V
Subject: Json parsing in RIH
Hi Chetan,
You should be able to use Conditionals here to resolve the issue.
Check this out: Formula mode - Add conditions to formulas | Workato Docs
It is simple as if else block and based on datapill value you can decide what to be used.
Try and let me know if you face any challenges.
------------------------------
Sheshadri V
Fresh Gravity
Original Message:
Sent: 07-19-2023 04:35
From: Chetan P
Subject: Json parsing in RIH
Hi Team,
Was working on a requirement where i have a scenario to be handled through RIH as stated below.
Json structure -
Target - Loading to Reltio Entity
Question -
I have a block """data -> document -> ingested data""" where values are dynamic - in this example we have 15 value and it may vary as per the payload.
Each block has data as below -
"ingestion": {
"value": "Not a Customer",
"field_name": "Customer Status"
},
Where i need to perform mapping and validation based on field_name value.
If field_name = Customer Status - i need to pass a validation,
If field_name = date - i need to calculate the age
I was able to map others / straight forward variable but this particular part i am bit stuck.
Thanks & Regards,
------------------------------
Chetan P
Lead MDM Specialist
Freshworks
Chennai
------------------------------