You need to sign in to do that
Don't have an account?
KMK91
Errors with Unit Test for Approval Process Batch class
Hi Team,
I'm facing below error.
System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [ProcessDefinitionId, CurrentNodeId]: [ProcessDefinitionId, CurrentNodeId]
Thanks
KMK
I'm facing below error.
System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [ProcessDefinitionId, CurrentNodeId]: [ProcessDefinitionId, CurrentNodeId]
Thanks
KMK
Seems like you are trying to process new Approval.ProcessSubmitRequest and didn`t provide the processDefinitionId. As i can`t see your code here`s a sample aprroval process that i have used in my test class.
P.S : Please mark this as the best answer if it helped.
Thanks
Shubham Kumar