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
Michael Schweigert 6Michael Schweigert 6 

I am trying to complete the Trailhead challenge "Customize How Records Get Approved with Approvals" and getting cryptic error.

I am trying to complete the Trailblazer challenge "Customize How Records Get Approved with Approvals" and I am getting the error "...System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []"  

I have no clue what this error means or how to figure this out.

Help!
Best Answer chosen by Michael Schweigert 6
Michael Schweigert 6Michael Schweigert 6
I figured it out.  I was assigning the wrong entry criteria (PENDING vs PROSPECT).
From what I can glean from the forums any incorrect assignment of variables triggers this nonspecific error.

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Michael,

May I suggest you please check with below links from the forums community which might help you pass the challenge. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
 
Michael Schweigert 6Michael Schweigert 6
I figured it out.  I was assigning the wrong entry criteria (PENDING vs PROSPECT).
From what I can glean from the forums any incorrect assignment of variables triggers this nonspecific error.
This was selected as the best answer