• Nyshaa
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 21
    Questions
  • 17
    Replies

I want to implement field update to a custom object name previous_owner_email__c . Which will fetch value of the previous account owner's email address.
When I am implement it into the workflow or process builder I am getting the error.

 Error: The PRIORVALUE function cannot reference the Owner.Email field.

Help needed urgently!

Thanks in Advance!

I have a field name sales representative (Lookyp User).I have 4 users.
I want to assign randomly 3 users to the field.

Can this be done using the automaton tool like flow or process builder.

Thanks in Advance!

I had created two process builder, The action to both the process builder should create a record in other object when one record is created in another object.

I.e When I create a record in Object A a process builder should fire and record should be created in Object B and vice cersa.

When I am creating a record I am getting an error and the record is not getting saved.
Error on record detail page.: "Developer Guide. Error ID: 930849216-76377 (598868845). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 930849216-76378 (-1005775037)" on record detail page.

I am also getting email as:
Error Occurred During Flow "Record_creation_on_objectA": This error occurred when the flow tried to create...
This error occurred when the flow tried to create records: CANNOT_EXECUTE_FLOW_TRIGGER: We can't save this record because the “ObjA Record” process failed. Give your Salesforce admin these details.
MAX_DEPTH_IN_FLOW_EXECUTION: Maximum flow depth exceeded: flow ObjA_Record is triggered for [a1z2v00000SV1e0] flow ObjB_Record is triggered for [a1y2v000003zGhZ] flow ObjA_Record is triggered for [a1z2v00000SV1e1] flow ObjB_Record is triggered for [a1y2v000003zGha] flow ObjA_Record is triggered for [a1z2v00000SV1e2] flow ObjB_Record is triggered for [a1y2v000003zGhb] flow ObjA_Record is triggered for [a1z2v00000SV1e3] flow ObjB_Record is triggered for [a1y2v000003zGhc] flow ObjA_Record is triggered for [a1z2v00000SV1e4] flow ObjB_Record is triggered for [a1y2v000003zGhd] flow ObjA_Record is triggered for [a1z2v00000SV1e5] flow ObjB_Record is triggered for [a1y2v000003zGhe] flow ObjA_Record is triggered for [a1z2v00000SV1e6] flow ObjB_Record is triggered for [a1y2v000003zGhf] flow ObjA_Record is triggered for [a1z2v00000SV1e7] flow ObjB_Record is triggered for [a1y2v000003zGhg]. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 930849216-76363 (598868845). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 930849216-76364 (598868845). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 930849216-76365 (598868845). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 930849216-76366 (598868845).

Please help me.

Thanks in advance!

I have a date field(Date) and a picklist field(Status).
I want the validation as, when the date field is passed by a month and the status is not renewed then the status should change to expired.

Thanks in advance!

I have two fields,
1. Start Date  (Date field) eg. 12/10/2020
2. Tenure field (Number field) eg. 2years
I want to create a new field which will calculate the end date based on the two fields above.
i. e End Date field: 12/10/2022

Currently I am using this formula but the output is incorrect. 
"Contract_Start_Date__c + (  Contract_Tenure__c  * 12)"
 

I created a Lightning component in which i want to fetch my detail through my apex controller but I am not able to fetch my records on the current record Id.

Apex Controller:
public with sharing class ASDcompanyapex
{
    @AuraEnabled
    public static List<Service_Line__c> getServiceLine(string recordId) 
    {
        List<Service_Line__c> ServiceLineList =[Select Name, Status__c, Line_Type__c, Total_Effort_Taken__c,Total_Line_Cost__c  from Service_Line__c where Status__c = 'Completed' AND Service_Request__c =: recordId];
        {
            
            return ServiceLineList;
            
        }
    }
}
Lightning Component:
<aura:component controller="ASDcompanyapex"  implements="force:appHostable,force:hasRecordId,flexipage:availableForAllPageTypes" access="global">
 
	<aura:attribute name="recordId" type="Id" />
    <aura:attribute type="Service_Line__c" name="ServiceLineList"/>
    <aura:attribute name="mycolumns" type="List"/>
      
    <aura:handler name="init" value="{!this}" action="{!c.servicelist}"/>
      
    <lightning:datatable data="{! v.ServiceLineList }"
                         columns="{! v.mycolumns }"
                         keyField="{!v.recordId}"
                         hideCheckboxColumn="true"/>
      
</aura:component>

Lightning Controller:
({
    servicelist : function(component, event, helper) {
        var rid = component.get("v.recordId");
        
        helper.fetchServiceLineHelper(component, event, helper);
    }
})

Lightning Helper:
({
    fetchServiceLineHelper : function(component, event, helper) {
        component.set('v.mycolumns', [
            {label: 'Service Line Name', fieldName: 'Name'},
            {label: 'Status', fieldName: 'Status__c'},
            {label: 'Line Type', fieldName: 'Line_Type__c'},
            {label: 'Total Effort', fieldName: 'Total_Effort_Taken__c'},
           {label: 'Total Line Cost', fieldName: 'Total_Line_Cost__c'},
            
        ]);
            debugger;
        var action = component.get("c.getServiceLine");
        action.setParams({
        });
        action.setCallback(this, function(response){
                        debugger;
            var state = response.getState();
            if (state === "SUCCESS") {
                component.set("v.ServiceLineList", response.getReturnValue());
            }
        });
        $A.enqueueAction(action);
    }
})

Help urgently needed.
Thanks in Advance!​​​​​​​​​​​​​​

 

I want Title, First Name, Mobile no. , Query Detail  and  Subject  to be mapped to the lead field that I have created.
After I write their content while sending an email to perform email to lead.
The fields should be automatically filled with the content present in the email.
Please help!
Thanks in advance.
Hello Everyone,
Need a help with email services. I'm trying to create cases throgh emails by using InboundEmailHandler. Our customers have a predefined email format (please check the screenshot). Once the email is sent to our organization, a case has to be created but it shouldn't just dump the email body in the description field. Each of the value in the email belongs to a particular field of case object. I've researched online and found out that String.Split is the way to go. However, I'm having trouble to write the code (still an amateur at Apex). Can any one please help me how to split the lines of email body and assign them to fields in the case object. Please explain it through w.r.t to the email body provided. Thank you!

For ex:  Problem Description infromation should be popualted in case descriton field
             Warranty information should be populated in product_warranty__c custom field. 

P.S: We only get emails in text format. No html is involved.
User-added image
I know I have completed the challenge correctly but keep getting this error. Note that the challenge has you create a "custom" object, not a "customer" object as stated in the error. I would like my 500 pts, please. :-)
I am creating a lightning component and I'm trying to style the data table using the example in the Lightning Design System documentation. I'm having trouble getting this to render correctly. Any ideas? 

Here is what the example looks like:
Lightning Example - Data Table
Link to example:
https://www.lightningdesignsystem.com/components/data-tables/?variant=base


Here is how mine renders:

User-added image
Here is what I am doing in the Component:
 
<aura:component controller="AddPoliciesApexController" implements="force:LightningQuickAction,force:hasRecordId">
	<aura:attribute name="policies" type="Policy__c[]" />
	<aura:attribute name="addToOpp" type="Boolean" />
	<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
    
	<table class="slds-table slds-table_bordered slds-table_cell-buffer slds-table_striped">
	 	<thead>
		    <tr class="slds-text-title_caps">
		      <th scope="col">
		        <div class="slds-truncate" title="Policy Number">POLICY NUMBER</div>
		      </th>
		      <th scope="col">
		        <div class="slds-truncate" title="Effective Date">EFFECTIVE DATE</div>
		      </th>
		      <th scope="col">
		        <div class="slds-truncate" title="Expiration Date">EXPIRATION DATE</div>
		      </th>
		      <th scope="col">
		        <div class="slds-truncate" title="Coverage Code">COVERAGE</div>
		      </th>
		      <th scope="col">
		        <div class="slds-truncate" title="Add to Opp">ADD TO OPP?</div>
		      </th>
		    </tr>
  		</thead>

  	<tbody>
   
    
  </tbody>	
	<aura:iteration items="{!v.policies}" var="pol" >

 	 <tr>
      <th scope="row" data-label="Policy Number">
        <div class="slds-truncate" title="Policy Number">
          <a href="javascript:void(0);">{!pol.Name}</a>
        </div>
      </th>
      <td data-label="Effective Date">
        <div class="slds-truncate" title="Effective Date">{!pol.Effective_Date__c}</div>
      </td>
      <td data-label="Expiration Date">
        <div class="slds-truncate" title="Expiration Date">{!pol.Expiration_Date__c}</div>
      </td>
      <td data-label="Coverage Code">
        <div class="slds-truncate" title="Coverage Code">{!pol.Coverage_Code_Product_Code__c }</div>
      </td>
      <td data-label="Add to Opp">
        <div class="slds-truncate" title="Add to Opp">
        	<ui:inputCheckbox class="slds-form-element" label="Add to Opp?"/>
        </div>
      </td>
    </tr>
	 
	</aura:iteration>
  </table>
	 


</aura:component>


Thanks!!
 
I have started using Salesforce in my new company but for now the use is very basic- feeding/pulling out customer database. I want to learn full-fledged Saelsfroce and excel in it, I am from non-developer/non-coding background. I have started learning the Salesforce Admin modules viaTrail Head.
It will be great if somebody can guide me since Salesforce is huge and I want to go step-by-step and learn each and every component of Salesforce applications. What could be the best way? What should I follow excatly?
Thank you
Hi All,
          I want to send an email notification when account owner is changed. And also i want to send email notification to both old account owner and new account owner which has been changed. How to achieve this. Can anyone send me the code?