• Rishu
  • NEWBIE
  • 10 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 9
    Replies
Hi Team,

I want to Truncate the text or any value that is coming after .com in email field. ( Using formula field )

For eg :-
Input : - gandhi@gmaill.com.abc ( length after .com can be variable)
Output:- gandhi@gmail.com
  • October 18, 2022
  • Like
  • 0
Hi,
I have a requirement to sum amount field of child object and update it on parent object using flows.

There is a lookup relationship from object 1(child) to object 2(parent). The requirement is to sum the field on child object and update it on the parent object.

Object 1 can have multiple child records.

 
  • June 08, 2022
  • Like
  • 0
Hi Team,
I have requirement to update Primary Contact using Record Based Trigger.

The flow should update the Primary Contact field from "true" to "false" on a contact record if another Contact record related to an account is edited with Primary Contact field equals to true.
  • April 28, 2022
  • Like
  • 0
 Hi Team
 I have a question as I cannot see all the fields for selection of an related object in the related list.
Which fields of an object are available in available fields list of a related list?
  • April 07, 2022
  • Like
  • 0
Hi everyone,
Is their anyway to assign permission set to profiles. I know we can assign permission set to users but my requirement is to assign it to profiles.

Currently for an object I have 2 record types and 2 profiles out of 10 is given create access. Now I need to create 3rd record type and 9 profiles out of 10 should have create access. The already existing record types should have create access for 2 profiles only. 
What approach I should follow. Is it achievable?
  • March 30, 2022
  • Like
  • 0
I have a requirement to throw an error using trigger:-
I have two object , object1 and object2 (child object) - MD Relationship
Object1 - stage field
 object2 - field 1 and field 2 ( Picklist field)
If the object1 has related record   where field 1 = "Closing"and field  2 = "Satisfied " then stage field of object1 should not be equal to Closing.
  • March 24, 2022
  • Like
  • 0
Hi,
I have a Picklist Field and it has 4 Picklist Value let's say value 1, value 2, value 3 and value 4.
My requirement is - 
If value 1 is changed to value 2 or value 3 then 
VR should throw an error
  • March 15, 2022
  • Like
  • 0
I need to write custom logic  to throw an error if - 
Field 1 is blank when
stage is updated from stage 1 to stage 2 and field 2 type = A or B or C 

I know I can achieve this using validation rule but I need to write custom logic for this
Validation rule for the above logic is :-
ISPICKVAL(PRIORVALUE (Stage__c), 'previousStage'),
ISPICKVAL(Stage__c, ' currentStage'),
ISBLANK(field1))
  • August 02, 2021
  • Like
  • 0
I have tried the below code, but it throws an error saying - variable does not exist: field3 
List<sObject> ppRecordsToupdate = new List<sObject>();
for(sObject ppRecord : [select id, name, from LLC_BI__Product_Package__c where
                                           (field 1 !=NULL OR field2 != NULL)])
{
    if(ppRecord.field1!=Null)
        ppRecord.field3 = ppRecord.field1;
    if(ppRecord.field2!=Null)
    {
        if(field3 !=NULL)
            ppRecord.field3 += ';' + ppRecord.field2;
        else
            ppRecord.field3 = ppRecord.field2;
    }
    if(field3 !=NULL)
        ppRecordsToupdate.add(ppRecord);
}
update ppRecordsToupdate;
  • June 28, 2021
  • Like
  • 0
I have a list of records (say mergelist), Now I want to add this list of records to a custom field (field2) which is on the same object.
  • June 26, 2021
  • Like
  • 0
Hi Team,

I want to Truncate the text or any value that is coming after .com in email field. ( Using formula field )

For eg :-
Input : - gandhi@gmaill.com.abc ( length after .com can be variable)
Output:- gandhi@gmail.com
  • October 18, 2022
  • Like
  • 0
Hi,
I have a requirement to sum amount field of child object and update it on parent object using flows.

There is a lookup relationship from object 1(child) to object 2(parent). The requirement is to sum the field on child object and update it on the parent object.

Object 1 can have multiple child records.

 
  • June 08, 2022
  • Like
  • 0
Hi Team,
I have requirement to update Primary Contact using Record Based Trigger.

The flow should update the Primary Contact field from "true" to "false" on a contact record if another Contact record related to an account is edited with Primary Contact field equals to true.
  • April 28, 2022
  • Like
  • 0
Hi everyone,
Is their anyway to assign permission set to profiles. I know we can assign permission set to users but my requirement is to assign it to profiles.

Currently for an object I have 2 record types and 2 profiles out of 10 is given create access. Now I need to create 3rd record type and 9 profiles out of 10 should have create access. The already existing record types should have create access for 2 profiles only. 
What approach I should follow. Is it achievable?
  • March 30, 2022
  • Like
  • 0
I have a requirement to throw an error using trigger:-
I have two object , object1 and object2 (child object) - MD Relationship
Object1 - stage field
 object2 - field 1 and field 2 ( Picklist field)
If the object1 has related record   where field 1 = "Closing"and field  2 = "Satisfied " then stage field of object1 should not be equal to Closing.
  • March 24, 2022
  • Like
  • 0
Hi,
I have a Picklist Field and it has 4 Picklist Value let's say value 1, value 2, value 3 and value 4.
My requirement is - 
If value 1 is changed to value 2 or value 3 then 
VR should throw an error
  • March 15, 2022
  • Like
  • 0
I need to write custom logic  to throw an error if - 
Field 1 is blank when
stage is updated from stage 1 to stage 2 and field 2 type = A or B or C 

I know I can achieve this using validation rule but I need to write custom logic for this
Validation rule for the above logic is :-
ISPICKVAL(PRIORVALUE (Stage__c), 'previousStage'),
ISPICKVAL(Stage__c, ' currentStage'),
ISBLANK(field1))
  • August 02, 2021
  • Like
  • 0
I have a list of records (say mergelist), Now I want to add this list of records to a custom field (field2) which is on the same object.
  • June 26, 2021
  • Like
  • 0