Skip to main content
Participant
May 26, 2023
Question

Apex Jobs Error: AgreementTemplateBatch

  • May 26, 2023
  • 2 replies
  • 601 views

On the Adobe Acrobat Sign Batch Agreements Create Agreements in Batch page:

I am running a query and receive the following error:

First error: Document Builder:You have uncommitted work pending. Please commit or rollback before calling out

 

Not sure how to troubleshoot as there is no debug information.

 

 

2 replies

Community Manager
June 1, 2023

@guenthmn thanks for reaching out!

To troubleshoot this error, please set the batch scope to 1: Database.executeBatch(batch, 1);

Participant
October 12, 2023

Hello!

I am having this same issue. Can you elaborate on where I would adjust the batch scope?

Thank you!

Meenakshi_Negi
Legend
May 29, 2023

Hi guenthmn,

 

Thank you for reaching out.

 

It seems that you are using the Adobe Sign Enterprise plan. If you have an integration-related question, the experts can best answer it. I suggest you, please get in touch with our Adobe Sign Enterprise support team to get the correct information about this. You may contact them using the steps in the following help document: https://helpx.adobe.com/sign/using/adobesign-support-resources.html.

You may also refer to the following help document for creating agreements in batch: https://helpx.adobe.com/sign/integrations/salesforce-batch-agreements.html

 

Hope the information helps.

 

Thanks,

Meenakshi