I'm using a url button to redirect to a lightning component which has been implemented using
The url button to redirect on lead is as :
But the leadId when I try to obtain in
Init is cached and hence getting the previous leadId instead of the current
How to get to get the current leadid instead of getting cached value??