• Jero Torralba 8
  • NEWBIE
  • 0 Points
  • Member since 2014

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

I need to do a 3DES encryption of a string and send it via post to another platform. I've searched and couldn't find whether this algorithm exists in Salesforce (it seems it doesn't). 

Could you please, help me?
Hello everybody,

I'm having problems with a Lead Conversion Trigger only when using a web-to-lead form (when doing it inside my org, everything works fine). I've got the web-to-lead form on Wordpress and I've used both WordPress-to-Lead for Salesforce CRM and Contact Form 7 with Forms: 3rd-Party Integration. I've tried all the combinations (both activated or just one activated). Both plugins work fine when I do not enter data that "triggers" the Lead Conversion Class. If I enter data that should trigger the class, then errors pop-up. 

I've got some Workflows that populate several fields on Leads. I've tried to change them from immediate to time-dependent and, also, I've even deactivated all of them (Lead auto-response rules also). I've read something related here: https://success.salesforce.com/issues_view?id=a1p30000000Sup5AAC. As you may have guessed, it didn't work. I've also tried to give permissions to both edit and create Leads and/or Contacts (I've read something here: https://developer.salesforce.com/forums?id=906F000000090jXIAQ). It didn't work either.

When using WordPress-to-Lead for Salesforce CRM, I get the following error:

common.exception.SfdcSqlException: ORA-20025:
ORA-06512: at "DOPEY.CACCESS", line 2394
ORA-06512: at "DOPEY.CACCESS", line 588
ORA-06512: at "DOPEY.CACCESS", line 659
ORA-06512: at "DOPEY.CTASK", line 560
ORA-06512: at line 1

When using Contact Form 7 with Forms: 3rd-Party Integration, I get the following error:
common.exception.SfdcSqlException: ORA-20025: 
ORA-06512: at "BASHFUL.CACCESS", line 2394 
ORA-06512: at "BASHFUL.CACCESS", line 588 
ORA-06512: at "BASHFUL.CACCESS", line 659 
ORA-06512: at "BASHFUL.CTASK", line 560 
ORA-06512: at line 1

Lead Conversion class is:
public with sharing class leadAutoConversion {

    public void leadAutoConvert (List<Lead> leadsFromTrigger){
        LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
        List<Database.LeadConvert> leadConverts = new List<Database.LeadConvert>();
        
        //Triggering Autoconversion
            for(Lead lead: leadsFromTrigger){   
                if(!lead.IsConverted && lead.TOTAL_Aportacion__c != 0){
                     
                      Database.LeadConvert lc = new Database.LeadConvert(); 
                      lc.setDoNotCreateOpportunity(TRUE); 
                   
                                      
                      lc.setLeadId(lead.id);
                   
                      lc.setConvertedStatus(convertStatus.MasterLabel);
                      
                      leadConverts.add(lc);  
                }
        }
        if(!leadConverts.isEmpty()){
            List<Database.LeadConvertResult> lcr = Database.convertLead(leadConverts);
           
        }
    }
}

Trigger is:
trigger TriggerLeadAutoconversion on Lead (after insert, after update) {

    if(trigger.isAfter || trigger.isUpdate){
        //TO-DO: Instantiate an object called la from the class LeadAutoConversion
        LeadAutoConversion la = new LeadAutoConversion();
        
        //TO-DO: Invoke the method leadAutoConvert and send a List of Leads as an input parameter
        la.leadAutoConvert(trigger.new); 
    }
}
 
Any Ideas?
 
 
 
Hi,

I need to do a 3DES encryption of a string and send it via post to another platform. I've searched and couldn't find whether this algorithm exists in Salesforce (it seems it doesn't). 

Could you please, help me?
Hello everybody,

I'm having problems with a Lead Conversion Trigger only when using a web-to-lead form (when doing it inside my org, everything works fine). I've got the web-to-lead form on Wordpress and I've used both WordPress-to-Lead for Salesforce CRM and Contact Form 7 with Forms: 3rd-Party Integration. I've tried all the combinations (both activated or just one activated). Both plugins work fine when I do not enter data that "triggers" the Lead Conversion Class. If I enter data that should trigger the class, then errors pop-up. 

I've got some Workflows that populate several fields on Leads. I've tried to change them from immediate to time-dependent and, also, I've even deactivated all of them (Lead auto-response rules also). I've read something related here: https://success.salesforce.com/issues_view?id=a1p30000000Sup5AAC. As you may have guessed, it didn't work. I've also tried to give permissions to both edit and create Leads and/or Contacts (I've read something here: https://developer.salesforce.com/forums?id=906F000000090jXIAQ). It didn't work either.

When using WordPress-to-Lead for Salesforce CRM, I get the following error:

common.exception.SfdcSqlException: ORA-20025:
ORA-06512: at "DOPEY.CACCESS", line 2394
ORA-06512: at "DOPEY.CACCESS", line 588
ORA-06512: at "DOPEY.CACCESS", line 659
ORA-06512: at "DOPEY.CTASK", line 560
ORA-06512: at line 1

When using Contact Form 7 with Forms: 3rd-Party Integration, I get the following error:
common.exception.SfdcSqlException: ORA-20025: 
ORA-06512: at "BASHFUL.CACCESS", line 2394 
ORA-06512: at "BASHFUL.CACCESS", line 588 
ORA-06512: at "BASHFUL.CACCESS", line 659 
ORA-06512: at "BASHFUL.CTASK", line 560 
ORA-06512: at line 1

Lead Conversion class is:
public with sharing class leadAutoConversion {

    public void leadAutoConvert (List<Lead> leadsFromTrigger){
        LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
        List<Database.LeadConvert> leadConverts = new List<Database.LeadConvert>();
        
        //Triggering Autoconversion
            for(Lead lead: leadsFromTrigger){   
                if(!lead.IsConverted && lead.TOTAL_Aportacion__c != 0){
                     
                      Database.LeadConvert lc = new Database.LeadConvert(); 
                      lc.setDoNotCreateOpportunity(TRUE); 
                   
                                      
                      lc.setLeadId(lead.id);
                   
                      lc.setConvertedStatus(convertStatus.MasterLabel);
                      
                      leadConverts.add(lc);  
                }
        }
        if(!leadConverts.isEmpty()){
            List<Database.LeadConvertResult> lcr = Database.convertLead(leadConverts);
           
        }
    }
}

Trigger is:
trigger TriggerLeadAutoconversion on Lead (after insert, after update) {

    if(trigger.isAfter || trigger.isUpdate){
        //TO-DO: Instantiate an object called la from the class LeadAutoConversion
        LeadAutoConversion la = new LeadAutoConversion();
        
        //TO-DO: Invoke the method leadAutoConvert and send a List of Leads as an input parameter
        la.leadAutoConvert(trigger.new); 
    }
}
 
Any Ideas?