Share all details about your problem, including any error messages you may have received.
We have implemented the native change detection . Some of our app owners ask to exclude some entitlements from NCD Process.
Just wanted to check , what will be the best way to handle this.
NCD detection cannot be bypassed for specific values. However, if your lifecycle events (LCE) are configured by rules, you can manage or skip the LCE trigger. To achieve this, you can store the relevant entitlement values in a custom object based on applications. Then, within your LCE rule, retrieve the custom object and check if the entitlement value from NCD is present in the custom object. If it is, return false; otherwise, return true
There is no OOTB functionality to exclude the groups during aggregation. The main purpose of Native change detection is to detected all groups which are changing from target system. So, instead you can exclude groups at Native Change trigger workflow level.
Welcome to the community . There is no OOTB Feature available , But it can be customized using custom NCD Workflow . below is the step which can be followed -
we can create one custom workflow for NCD.
In Workflow itself , add the step to filter out the Entitlement from the Native change .
Probably create a custom file with the application and entitlement mapping which needs to be excluded.
In workflow , Fetch the NativeChangeDetection object.
Fetch the differences.
Difference will have the entitlement name , Match with custom object and if needs to exclude , drop it.
Below is quick code snippet, These are just samples. Do customize as per your requirement -
Fetch the values from Differences -
List addedValues = difference.getAddedValues();
List removedValues = difference.getRemovedValues();
Add these in Difference object after Matching with the data from custom File , If it exists , Drop that value from above List .