function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
EricL_SilvaEricL_Silva 

Class Approval Process

Hi,

 

I'm having problems with the class Approval.ProccessSubmitRequest.

It is limited to send maximum 20 records per trigger.

I'm trying to create lists or sets, but I didn't find a way to set object ID from a list or set.

 

Can someone help me?

 

Tks

EricL_SilvaEricL_Silva

Well, I'm getting the error :

 

envia_para_aprovacao: execution of AfterUpdate

caused by: System.DmlException: Process failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, missing required field: []

 

Someone? :(