• Rahul lachoriya
  • NEWBIE
  • 5 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 3
    Replies
Hi,

I'm on the exervise for Customizer How Records Get Approved With Approvals.

I'm getting the followng error when I try to submit: 
Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []

I have the correct values in the Type picklist, I have the approver set to myself, I have the three workflow actions to update the Type field. The final approval unlocks the record. The approval process is named Approve New Account and is active. Any ideas?
User-added image

i not understanding usage of junction object .

Please explain usage and how to create junction object with a example

Hi
I've lost some time fighting with the package.xml in order to retrieve and deploy matching rules and duplicateRules.

So if this helps, here is an example of the package.xml :
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>DuplicateRule</name>
    </types>
    <types>
        <members>*</members>
        <name>MatchingRules</name>
    </types>
    <version>40.0</version>
</Package>
As you can see there an 's' on the matching rules name but not on the duplicate rules name!
The same for unitary members:
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Contact.PKN_PWC_Contact_Duplication_Rule_V1</members>
        <name>DuplicateRule</name>
    </types>
    <types>
        <members>Contact</members>
        <name>MatchingRules</name>
    </types>
    <version>40.0</version>
</Package>
Regards