Announcement

Collapse
No announcement yet.

Errors processing Temporary Contacts in PAAS(?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Errors processing Temporary Contacts in PAAS(?)


    Randomly get the error below, and I have to create a contact page but cannot save any address and then i can process the temp contact. Assistance please!!!

    Error message: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, A validation rule is preventing the record from saving: Use one of these records?: [] Error is in expression '{!SaveItem}' in component <apex:commandButton> in page cnp_paas_evt:eventtemporarycontact: (CnP_PaaS_EVT) An unexpected error has occurred. Your solution provider has been notified. (CnP_PaaS_EVT)


    <apex:commandButton action="{!SaveItem}" value=" Process " onclick="if(!contactselection()){return false;}" rerender="EventTempForm" status="loadingstatuscheck"/> <!--<apex:commandButton action="{!deleteItem}" value=" Delete " onclick="return confirm('Are you sure you want to delete this Temporary Contact Record permenantly?')" status="loadingstatuscheck"/>--> <apex:commandButton action="{!cancelItem}" value=" Cancel " status="loadingstatuscheck"/> </div> </apexutputPanel> </apexageBlock> <apexageBlock id="ContactBlock" rendered="{!IF(ContactBlock==true,true,false)}"> <apexageBlockSection title="Processing Result" columns="1"> <apexageblockSectionItem > <apexutputLabel value="Updated/Created Contact"></apexutputLabel> <apexutputpanel > <a href="../{!displayattrec.CnP_PaaS_EVT__ContactId__c}" target="_new"><apexutputfield value="{!displayattrec.ContactId__r.name}"/></a> </apexutputpanel> </apexageblockSectionItem> <apexageblockSectionItem > <apexutputLabel value="Attendee Name"></apexutputLabel> <apexutputfield value="{!displayattrec.name}"/> </apexageblockSectionItem> <apexageblockSectionItem > <apexutputLabel value="Registration Level"></apexutputLabel> <apexutputfield value="{!displayattrec.registration_level__r.name} "/> </apexageblockSectionItem> <apexageblockSectionItem > <apexutputLabel value="Registrant Name"></apexutputLabel> <apexutputfield value="{!displayattrec.Registrant_session_Id__r.na me}"/> </apexageblockSectionItem> <apexageblockSectionItem > <apexutputLabel value="Order Number"></apexutputLabel> <apexutputfield value="{!displayattrec.Registrant_session_Id__r.Cn P_PaaS_EVT__Transaction_order_number__c}"/> </apexageblockSectionItem> <apexutputPanel rendered="{!IF(DisplayOrderNumbers==true,true,fals e)}"> <apexutputLabel value="The following transactions were also associated with the selected contact: [Depending on the number of associated transactions, please allow 5-10 minutes for the process to complete]"></apexutputLabel><br /> <ul> <apex:repeat value="{!ProcessedNumbers}" var="t"> <li>{!t}</li> </apex:repeat> </ul> </apexutputPanel> </apexageBlockSection> <div align="center"> <apex:commandButton action="{!RedirectToList}" value=" Back " />

  • #2
    attached a file to avoid the smileys.
    Attached Files

    Comment


    • #3
      Good day [email protected] :

      As stated at error message, 'A validation rule is preventing the record from saving'.

      Please grant us access and share the Org id, so we can proceed.
      Regards,
      Click & Pledge Support Department

      On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

      Join us @ the educational webinars: https://clickandpledge.com/webinars/
      Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
      Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

      Comment


      • #4
        @CnP.Support.MA I've granted access

        00DF00000005NAo

        Thanks!

        Comment


        • #5
          Good day @[email protected]

          We reviewed and found that the above temp contact is an Attendee from Events. Would you please share the Event name as well as the Attendee name so that we can review whats going on?

          Looking forward to hearing back from you.
          Regards,
          Click & Pledge Support Department

          On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

          Join us @ the educational webinars: https://clickandpledge.com/webinars/
          Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
          Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

          Comment


          • #6
            The event was Contact: Patience Williams

            Comment


            • #7
              Good day @[email protected]

              One of our developers reviewed your instance and identified the issue. The following duplicate rule is causing the issue to process the temp contact:

              Click image for larger version

Name:	duplicate rule.jpg
Views:	61
Size:	149.2 KB
ID:	35759

              Please deactivate the above rule and try to process the temp contact and let us know if you find any issues.
              Regards,
              Click & Pledge Support Department

              On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

              Join us @ the educational webinars: https://clickandpledge.com/webinars/
              Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
              Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

              Comment


              • #8
                @CnP.Support.MA Amazing! Thank you this worked.

                Comment

                Working...
                X
                😀
                🥰
                🤢
                😎
                😡
                👍
                👎