Updated to 26R1 - #1
Open
zachary-doroshenko-veeva wants to merge 1 commit into
Open
Conversation
zachary-doroshenko-veeva
requested review from
eric-matelyan-veeva,
mark-arnold-veeva and
ryan-lacy-veeva
July 13, 2026 21:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
How this was verified
Scope: two deprecated APIs replaced; all other behavior unchanged. Goal
was to confirm the trigger -> action -> async job -> notification flow
behaves identically on 26.1.0.
Environment: Veeva Vault sandbox on SDK 26.1.0. Built with
mvn clean compile, deployed via the Vault Java SDK Maven Plugin / project VPK, andconfirmed the SDK source shows valid/deployed under Admin > Configuration
Functional verification:
a vsdk_product__c record and entered country__c; a new
vsdk_product_application__c was created with product__c, country__c and
product_type__c copied from the Product. Log showed "Number of Product
records: N".
product application, a "VSDK Product Application Form" document on
"General Lifecycle" was created with product__c and
product_application__c set.
updating product_type__c on a Product (AFTER_UPDATE) enqueued
vsdk_product_application_update_job__c via the new JobQueue API; the job
ran (Job Status) and each related product application's product_type__c
matched the parent's new value. Log showed "Querying product
applications for parent ids", "Querying products for product types",
"Setting Job Items", "Updating VSDK Product Application records".
task to fail; completeWithError sent the
vsdk_product_application_failure__c notification to the initiating user
(RequestContext.getInitiatingUserId()) with tokens (failed_tasks,
number_of_tasks, product_applications) populated. Log showed "Some Job
Tasks have failed. Sending failure notification".
Deprecation-replacement regression (must behave identically):
-> newJobQueueRequestBuilder().withJobName(...).withJobQueueParameters
(...).build() -> jobService.jobQueueOperation(request).execute().
Verified the "product_applications" parameter is still received in
VsdkProductApplicationUpdateJob.init() and the same records are updated;
job name string unchanged.
setRecipientsByUserIds(Set) -> setRecipientsByUsers(List). Verified the
same user(s) receive the failure notification as before.
Debug log reviewed across all cases — expected lines present, no
unexpected errors, and no RollbackException("QUERY_FAILURE" /
"OPERATION_NOT_ALLOWED") on the happy paths.