amalagaura / camunda-workflow

Camunda Workflow - Ruby interface to the Camunda REST api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to use it with Sidekiq

nirajantimalsina opened this issue · comments

Whenever I try to use this with sidekiq, it will throw error.
Error: undefined method perform_later

The code in CamundaJob is:
class CamundaJob include Sidekiq::Worker include Camunda::ExternalTaskJob end

Please see the documentation for Sidekiq::Worker. I think you are using an ActiveJob method but including Sidekiq::Worker.

https://www.rubydoc.info/github/mperham/sidekiq/Sidekiq/Worker