• Akshat Agrawal SFC
  • NEWBIE
  • 30 Points
  • Member since 2014

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 6
    Replies
Please tell me if there is limits on Outbound Messages for Each Workflow Rule,

If there is, how many per day/ per object and total limit of OBM per organization per day.

Thanks

Error message :PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target HTTPS server Certificate Issuer is "COMODO RSA Domain Validation Secure Server CA" with Signature hash algorithm Name "Sha256".

Here is the sample code

HttpRequest req = new HttpRequest(); 
req.setEndpoint(<HTTPS server>); 
req.setMethod('POST');
req.setHeader('Content-type','application/json'); 
HTTPResponse res = http.send(req); 
System.debug(res.getBody());
Please tell me if there is limits on Outbound Messages for Each Workflow Rule,

If there is, how many per day/ per object and total limit of OBM per organization per day.

Thanks
Hi,

I am trying to develop a project for my learning purpose. I have created a two VF page and a controller class.

My Quote VF page
<apex:page standardcontroller="Opportunity" extensions="QuoteController" sidebar="false" > 
  <apex:form > 
  <apex:pageBlock > 
  <html>
  <body>
  <table>
  <tr>
  <apex:pageBlockSection > 
  
  <td><table border="0" bgcolor="#00BFFF" >
  <tr><apex:inputField value="{!SearchCriteria.Operating_Model__c}"/></tr>
    <tr><apex:inputText label="Quantity" value="{!Quantity}"/> </tr>

<apex:inputField value="{!SearchCriteria.partno__r.Type__c}" id="degreeLevel" onchange="assignDegreeLevel(this.value)"/>       


 <apex:actionFunction name="assignDegreeLevel" action="{!filterApplicant}" 
   reRender="program" immediate="true">
      <apex:param name="degreeSelected" assignTo="{!degreeSelected}" value=""/>
 </apex:actionFunction> 
  <tr><apex:commandButton value="Go" action="{!filterApplicant}"/> </tr>
  </table>
  </td>
    </apex:pageBlockSection> 
    <apex:pageBlockSection rendered="{!GoShopping}">
      <apex:commandLink action="{!GoToCart}" value="Go to Shopping Cart"/><br></br><br></br>
      <apex:outputLink value="/?id={!Opportunity.id}">Go Back</apex:outputLink>
    </apex:pageBlockSection>
      <td style="width:100%"><apex:pageBlockTable value="{!FilteredApplicants}" var="applicant"> 
          <apex:column >
            <apex:inputCheckbox value="{!selected}"/>      
          </apex:column>
          <apex:column value="{!applicant.Operating_Model__c}"/>
          <apex:column value="{!applicant.MSRP__c}"/>
          <apex:column value="{!applicant.Buying_Price__c}"/> 
          <apex:column value="{!applicant.Type__c}"/>
      </apex:pageBlockTable> 
      <apex:pageMessages id="error"></apex:pageMessages> 
      </td></tr>
      </table>
      </body>
      </html>
  </apex:pageBlock> 
   </apex:form> 
</apex:page>
My QuoteController class
public with sharing class QuoteController { 
public boolean GoShopping{get;set;}
public boolean GoToCart{get;set;}
public boolean Selected{get;set;}
public Integer Quantity{get;set;}
public String degreeSelected{get;set;}
public decimal NetAmount{get;set;}
public decimal NetAmount1{get;set;}
public Opportunity opp{get;set;}
public List<Parts__c> types{get;set;}   
public List<Price_details__c> FilteredApplicants{get;set;}  
public list<Price_details__c> listPrice{get;set;}
public Price_details__c SearchCriteria{get;set;} 
public String cid= ApexPages.currentPage().getParameters().get('id');
public QuoteController(ApexPages.StandardController controller) 
 { 
   
   SearchCriteria = new Price_details__c(); 
   types = new list<Parts__c>();
   types=[select type__c from parts__c];
   GoShopping = false; 
   NetAmount=0;
     
 } 
   public void filterApplicant()     
    { 
        FilteredApplicants = new List<Price_details__c>(); 
        FilteredApplicants = [SELECT Id, Name, Region__c, MSRP__c, Operating_Model__c, Buying_Price__c, QuantityStart__c,QuantityEnd__c,Type__c 
        FROM Price_details__c WHERE Operating_Model__c =: SearchCriteria.Operating_Model__c and QuantityStart__c<=:Quantity 
        and QuantityEnd__c>=:Quantity AND  Type__c=:degreeSelected];
        GoShopping=true;
      
if(FilteredApplicants.size() == 0) 
      { 
      Apexpages.addMessage(new ApexPages.Message

(ApexPages.Severity.INFO,''+'No records to Display'));  
     } 
    } 
public PageReference GoToCart()
{
        Opp = new Opportunity();
        listPrice = new list<Price_Details__c>();
        listPrice = [select id, name, Buying_Price__c from price_details__c];
        for(Price_details__c price: listPrice)
        {
            if(selected=true){
                listPrice.Opportunity__c=Opp.Name;
                NetAmount=NetAmount+price.Buying_Price__c;
                netAmount1=NetAmount;
                system.debug('@@@@@'+NetAmount);
                }
         }
    pagereference ref;
    ref = new pagereference('/apex/ShoppingCart?id='+cid);
    ref.setredirect(true);
    return ref;
    }
    
}
ShoppingCart VF page
<apex:page StandardController="Opportunity" extensions="QuoteController">
  <apex:form > 
      <apex:pageBlock >
          <apex:pageBlockSection columns="1">
              <apex:outputField label="User Name" value="{!opportunity.Name}"/>
              <apex:outputField label=" Account Name" value="{!Opportunity.AccountId}"/>
              <apex:outputField label="Email Id" value="{!Opportunity.Email__c}"/>
              <apex:outputLabel value="{!NetAmount}"></apex:outputLabel>
          </apex:pageBlockSection>
          
      </apex:pageBlock>
  </apex:form>
         Related price details for {!Opportunity.name}:    
          <apex:relatedList list="Price_Details__r" />
          
</apex:page>

While saving this class it shows the error like this

Error: Compile Error: Initial term of field expression must be a concrete SObject: List<Price_Details__c> at line 48 column 17.

Please I need someone help. 

 
Please tell me if there is limits on Outbound Messages for Each Workflow Rule,

If there is, how many per day/ per object and total limit of OBM per organization per day.

Thanks