Tuesday, April 19, 2016

First error: NO_APPLICABLE_PROCESS, No applicable approval process was found

When your trying to make any kind of deployment on Production by default all the test classes will be run .To make smother deployment we need to have at least 75% code coverage .Recently when I'm making deployment to production I end up with the below error.

Deployment /Test Class Error:

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ORequestTrigger: execution of AfterInsert caused by: System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: [] Trigger.ORequestTrigger: line 81, column 1: []

Reason for the Issue:

If you running any Test class that in turn causes a Main class or Trigger to submit the Test record for an Approval Process (through Apex coding) and If that particular record is failing to meet at least one of the Approval Processes Entry Criteria then it will fail with above error.

Work Around Solution:

Modify the test record data as per the entry criteria of any one of required Approval Process.


Thanks for visiting...Enjoy


Wednesday, April 6, 2016

Salesforce Training Demo Session by Srinivas4Sfdc

Dear All,

Hope you are doing well.

An important update for all I Love Coding..You? blog viewers,

New Salesforce Training batch will be starting from tomorrow . If any one of you looking for the same please join my demo session by below link


Timings : 07 April 2016 - 8:00AM IST 
                06 April 2016 - 10:30PM EST | 9:30PM CST | 7:30PM PDT

You can also dial in using your phone.
United States : +1 (312) 757-3121

Access Code: 776-265-829

 Courses Offed:
  
    1. SalesForce Adminstartion
    2. SalesForce Development

 Training Type:

    1. Class Room Training
    2. Online Training

 Contact Details:
  
    Email : srinu.it1234@gmail.com
    Phone : +91-8884876772


Please feel free to pass the same to your friends / colleagues who are looking for salesforce training or support.