• Robert Bitter
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
I have the below requirement,
In the Lead, i have the Event as a related object, In the Event , i have a field called "IQM Locked" , Once its ticked, i have a VR written that the users couldn't modify the event any more. But its creating issue when , converting the Lead.
As when i am converting the Lead to Contact or Account, there is a change happening in the event record as well, on Name (WhoID) and Related To (WhatID). and its triggering the VR, which doesn't allow me to convert the Lead and throwing the VR error. 
How to resolve this ?
Below is my current VR written, what changes i need to do here that, 
the Lead can be converted and simultaneously users shouldn't be able to change the IQM locked events, even in the current Lead, Converted Contacts or Account ?
AND (

RecordType.Name='Initial Qualifying Meeting',
IQM_Locked__c,
NOT(CONTAINS($Profile.Name,'System Admin'))
)