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).

     

  • [adinserter block='9']
  • 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

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a