Hello Team ,
It seems that after callback in aasm transition is not executed sometimes.
Can any one provide a reason/fix for the issue.
event :approve, :after => [:record_transition, :send_invitation, :notify_updated] do
transitions from: :applicant, to: :active, :guard => :is_primary_broker?
end
The methods record_transition,send_invitation & notify_updated doesnot gets executed and aasm state changes from applicant to active.