core_workflow.rb 305 B

12345678910111213
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class Sessions::Event::CoreWorkflow < Sessions::Event::Base
  3. database_connection_required
  4. def run
  5. {
  6. event: 'core_workflow',
  7. data: CoreWorkflow.perform(payload: @payload, user: current_user)
  8. }
  9. end
  10. end