-
Notifications
You must be signed in to change notification settings - Fork 1
vSDKObjectMetadataSampleTrigger
smehta-veeva edited this page Jul 16, 2021
·
1 revision
This trigger calls the BusinessLogicService's buildObjectQuery and hasChanges methods with a list of fields on the vSDK Object Metadata Example object, the object name, and the record changes.
...
BusinessLogicService businessLogicService = ServiceLocator.locate(BusinessLogicService.class);
String query = businessLogicService.buildObjectQuery(
VaultCollections.asList("amount__c", "description__c"),
OBJECT_NAME);
boolean hasChanges = businessLogicService.hasChanges(
VaultCollections.asList("status__v", "amount__c"),
OBJECT_NAME,
recordChanges);
...
Home
Trigger
User-Defined Service