I encountered this error message recently in a function that had been okay before:
"First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found".
As the message says, there is an error in the approval process. However, I just cannot find a way to solve it. Has anyone had the same problem?
The timing happened to be around the 2020 Spring critical update at the end of February.
I have another error message about the approval process which also occurred after the critical update:
"Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, XXXXXX: execution of AfterInsert caused by: System.DmlException: Process failed. First exception on row 0; first error: TEMPLATE_NOT_FOUND,...... "