• SriRamya Beram
  • NEWBIE
  • 0 Points
  • Member since 2016


  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 9
    Replies
For manually created leads task assignments are creating and email notifications are firing. Here we are using processbuilder for task creation  but the process builder is not working properly where we want to creat a task for opportunity which is coming from auto conversion of lead here task is creating successfully but email notifications are not working
public class WrapperClass {
    public List<Account> AccountList{get; set;}
        public List<Account> getAccounts(){
            if(AccountList==null){
                AccountList=new List<Account>();
                for(Account acc:[select name,phone,Type from Account limit 10]){
                    AccountList.add(new Account(acc));
               }
            }        
                return AccountList;
        }
   
}
 
Challenge Not yet complete... here's what's wrong: 
 Please also make sure you've enabled Account Teams and have added yourself to the Account Team.
IF(RecordType.Name== 'Purchase Order', Name ='po-'+CC_OrderNumber__c-CC_Sales_Order__r.CC_OrderNumber__c ,
 Name ='so-'+CC_OrderNumber__c-CC_Project__r.Name )
Error: Incorrect parameter type for operator '-'. Expected Number, Date, DateTime, received Text
 
IF(RecordType.Name== 'Purchase Order', Name ='po-' CC_OrderNumber__c- 
CC_Sales_Order__r.CC_OrderNumber__c ,
 Name ='so-' 
CC_OrderNumber__c - 
CC_Project__r.Name )
Error: Syntax error. Missing ')'
public class WrapperClass {
    public List<Account> AccountList{get; set;}
        public List<Account> getAccounts(){
            if(AccountList==null){
                AccountList=new List<Account>();
                for(Account acc:[select name,phone,Type from Account limit 10]){
                    AccountList.add(new Account(acc));
               }
            }        
                return AccountList;
        }
   
}
 
For manually created leads task assignments are creating and email notifications are firing. Here we are using processbuilder for task creation  but the process builder is not working properly where we want to creat a task for opportunity which is coming from auto conversion of lead here task is creating successfully but email notifications are not working
Challenge Not yet complete... here's what's wrong: 
 Please also make sure you've enabled Account Teams and have added yourself to the Account Team.
IF(RecordType.Name== 'Purchase Order', Name ='po-'+CC_OrderNumber__c-CC_Sales_Order__r.CC_OrderNumber__c ,
 Name ='so-'+CC_OrderNumber__c-CC_Project__r.Name )
Error: Incorrect parameter type for operator '-'. Expected Number, Date, DateTime, received Text
 
IF(RecordType.Name== 'Purchase Order', Name ='po-' CC_OrderNumber__c- 
CC_Sales_Order__r.CC_OrderNumber__c ,
 Name ='so-' 
CC_OrderNumber__c - 
CC_Project__r.Name )
Error: Syntax error. Missing ')'