Thanks to visit codestin.com
Credit goes to github.com

Skip to content

after callback doesn't gets executed sometimes #512

@hitheshkolla

Description

@hitheshkolla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions