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
Ravi Chandra 64Ravi Chandra 64 

approval process for a chatter feed

Hey guys!
when I'm trying to create an approval process for a chatter feed, it throwing an error called..

System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []

Plz help me.

Regards 
Ravi Chandra
Best Answer chosen by Ravi Chandra 64
Amit Chaudhary 8Amit Chaudhary 8
If your issue is resolved then please the best Answer to that comment which helped you so that if some one has same issue that post can help other

All Answers

VineetKumarVineetKumar
Please refer the below checkpoints for the issue reported above :
  • Is there a chance you created the approval process but don't have it activated?
  • Does your account meet the entry criteria for your approval process?
This error is thrown when an object is attempted to be submitted for approval and no approval process can be found, either because it isn't activated or your object doesn't meet the entry criteria.You can not just instantiate this code. There must already be an approval process in the system for you to be able to run this code.
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same problem. I hope that will help you
1) https://developer.salesforce.com/forums/?id=906F00000005IJzIAM
2) https://developer.salesforce.com/forums/?id=906F0000000D6J4IAK
3) https://developer.salesforce.com/forums/?id=906F0000000BZKoIAO


Had this problem as well. Make sure when you go to create the proccess, at the top of the page, change the drop-down to CASE not ACCOUNT. This should solve any issues. From here just add the name and make the approver User:'yourself' and then hit save -> Activate. Thats it!

Let us know if this will help you
Ravi Chandra 64Ravi Chandra 64
Thanks Man, I did it. . I appreciate your help.. 
Amit Chaudhary 8Amit Chaudhary 8
If your issue is resolved then please the best Answer to that comment which helped you so that if some one has same issue that post can help other
This was selected as the best answer