• Mubarak Hussain
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
Hi All,
What is an Workbench in Salesforce,and what is the difference between workbench,developer console and Force.com Explorer.


Thanks
Hi,

Can any one provide me a link of salesforce trial version that having sandbox.
I tried searching in google but find trail version having without sandbox.

Thanks
SCENARIO: If Lead Status is "Open - Not Contacted" add to Account else if it is "Working - Contacted" add to Opportunity
trigger AutoQualifyLead2 on Lead (after insert) {
    List<Account> accs=new List<Account> ();
    List<Opportunity> opps=new List<Opportunity> ();
    for(Lead l:Trigger.New)
    {
        if(l.Status=='Open - Not Contacted'){
            Account a=new Account();
            a.Fax=l.Fax;
            a.Phone=l.Phone;
            a.Industry=l.Industry;
            accs.add(a);
        }
        else{
            if(l.Status=='Working - Contacted'){
                Opportunity op=new Opportunity();
                op.Name=l.Name;
                op.Description=l.Description;
                opps.add(op);
            }
        }
    }
    if(accs.size()>0){    insert accs;    }
    if(opps.size()>0){    insert opps;    }
}
ERROR: As seen in attached Image
User-added image
Hello,

I am looking for a tutorial to implement Pagignation on table, It will return around 20000 rows.
Hi,

Can any one provide me a link of salesforce trial version that having sandbox.
I tried searching in google but find trail version having without sandbox.

Thanks