Configuring Internal LCA in Business Configuration
You can configure the validation function by using the
Reltio/DVFAction
Life Cycle Action (LCA).
After defining the validation functions for an attribute or the attributes of an entity
type, the entity type can be configured to use this during the dataload by adding the
Reltio/DVFAction
LCA in the business configuration.
Note:
Reltio/DVFAction
is an out-of-the-box LCA and does not
require a registration for the tenant. To configure the validation function for an entity type, add the
Reltio/DVFAction
LCA in your business configuration. The LCA
executes all the validation functions configured for a particular entity type. The
following are the two hooks that are supported:validate
beforeSave
Note: To disable a data validation function for the entire tenant, remove the
Reltio/DVFAction
LCA for all the entity types.LCA Configuration
"lifecycleActions": {
"beforeSave": [
"Reltio/DVFAction"
]
}
Note: If you want to add validation, then use the following
sample:
"lifecycleActions": {
"validate": [
"Reltio/DVFAction"
],
"beforeSave": [
"Reltio/DVFAction"
]
}
LCA Sample Configuration
{
"uri": "configuration",
"description": "New Sales Account360",
"schemaVersion": "xxx",
"sources":[........],
.......
"entityTypes":[
{
"uri": "configuration/entityTypes/Product",
"label": "Product",
"attributes":[................],
"analyticsAttributes":[
],
"lifecycleActions": {
"beforeSave": [ "Reltio/DVFAction" ]
}
]
........
}