RE: UciError: Cannot save due to no dirty changes.
There is javascript behind the qualify lead button, but is just doing validation on the field, without actually changing any values.
Just to give context I am importing data into the lead entity trough power automate flow, then a user fills the remaining information's which are required and tries to qualify.
When the user tries to qualify the javascript triggers and after validating it gets to this line of code Mscrm.LeadCommandActions.qualifyLeadQuick(); which should qualify the lead.
Instead of qualifying the lead, the lead screen does not move, and if I open the console I can see the error message above.
Yesterday I was doing some tests and one of the strange things I saw is that if I change one particular lookup field values which have been set by power automate to something else, save, then change back the value to what it was before, save and qualify, then the lead does qualify.
I am not sure why that is the case, could a lookup field prevent the lead to qualify, if that is the case why?