You need to sign in to do that
Don't have an account?
Eddie Deveau
Apex Class Commented Out Pushed to Prod Error
Hello, I am no developer, but I am trying to turn off an existing apex class by just commenting it out. I'm able to do that, and when I push it into production, I keep getting an error realted to the actual apex class:
System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []
Stack Trace: Class.NewcostsheetwithapprovalTest.testallmethodwithNoInitialvaluesET: line 563, column 1
Any suggestions on removing the error?
First line of apex class:
public class NewcostsheetwithapprovalTest
{
/*
System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []
Stack Trace: Class.NewcostsheetwithapprovalTest.testallmethodwithNoInitialvaluesET: line 563, column 1
Any suggestions on removing the error?
First line of apex class:
public class NewcostsheetwithapprovalTest
{
/*
As per the error, it is clear that the complete code is not commented out and there is something whihc is being executed. Please make sure the complete code is commented out.
If you need any immediate help, please reach out to me:
Email: abhibansal2790@gmail.com
Skype: abhishek.bansal2790
Thanks,
Abhishek Bansal.
For reference, you can check this,
https://www.reddit.com/r/salesforce/comments/6i0lft/approval_process_restricting_approver_from/
If it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.