Skip to main content

I have created one Custom validation rule on Lead status field that will check if the Lead.IsConverted is true and the previous value of Status is not "Contacted" then It will display error. 

I want this because on the contacted status first I am killing all the time-based workflows and then I want to convert the lead so that the "Unable to convert lead that is in use by workflow" will not occur. But this won't happen, the "Unable to convert lead that is in use by workflow" will display if the time-based workflows are there and I am trying to change status from "Open" to "Converted".

 

Here I want to display my custom validation error before "Unable to convert lead that is in use by workflow" error.Is there any way we can do this? I also tried with Before Saved record trigger flow but that also not worked.

Is there any other work around we can achieve this?

0/9000