Good Day
I have a scenario where a Lead gets qualified and an Opportunity is created and linked to the Lead. The Leads gets marked as won and Deactivated.
I have a requirement where the Lead needs to reactivated to captured additional custom details after it was won/disqualified. But the Lead cannot be Reactivated if the Source Campaign is not Active and not more than 30 days after it was closed.
I'm trying to use a Plugins on the following messages. Lead -> SetState, SetDynamicState on the Pre Validate/Pre Operation and then logic to be executed on the Post SetSate operation.
But when marking the Lead as Won/Disqualified these events are not executing and even on the QualifyLead message it is not firing.
Also tried on the Pre Update message linked to the statecode field.
Am I missing something? Or are there a better way of applying logic when Deactivating/Reactivating of Leads?
Thank You Kindly