Activity Forums Salesforce® Discussions How can I use Ischanged() in lookup field in Salesforce?

  • shradha jain

    Member
    September 5, 2018 at 10:10 am

    Hello Avnish,

    You can use Ischanged in lookup field by setting:

    Eval Criteria: created and every time it's edited.
    Rule Criteria: formula evaluates to true
    Formula:ISCHANGED(Lookup_Field__c).

     

  • Parul

    Member
    September 5, 2018 at 12:10 pm

    Hello Avnish,

    You can do this using WF rule on the parent object that checks all those field if they have been modified and set a IsChanged checkbox to true. Next time you do a modification on the child object you verify if the Parent__r.IsChanged__c == true, and if it is then prevent the user from edit(validation rule)

    Thanks.

  • shariq

    Member
    September 15, 2018 at 2:12 am

    Hi,

    Just try this -

    IsChanged(yourLookup__c)

    It will give true if your lookup is changed to different value.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos