Hi Karthik,
You can use API to GET all DVF's for particular tenant and then POST it into another tenant.
curl --location 'https://console.reltio.com/datamodeler/services/dvf/api/{{tenantID}}/dataValidationFunctions' \
--header 'Authorization: Bearer kknk-hgfuyf' \
--header 'env: {{env}}'
Using above API you will get all DVF's wrto tenant and if needed '/entityTypes/{{entityType}}' to get specific Entity.
In the response remove all the uri and POST using below API:
curl --location 'https://console.reltio.com/datamodeler/services/dvf/api/{{tenantID}}/dataValidationFunctions/entityTypes/{{entityType}}' \
--header 'Authorization: Bearer afhoiahiaf' \
--header 'env: {{env}}' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "Sample",
"label": "",
"description": "Hello",
"expression": "exists(attributes.Name.value)",
"action": "WARNING",
"validationEvent": "ALL",
"message": "Missing Name",
"createdBy": "me",
"createdTime": "",
"updatedBy": "me",
"updatedTime": "",
"status": "ACTIVE",
"attribute": "configuration/entityTypes/{{entityType}}/attributes/{{attributeName}}"
}
]'
Using above cURL you can get and post in other tenants. Let us know if you find any difficulty.
------------------------------
Sheshadri V
Fresh Gravity
------------------------------