I am not recieving some pending reached messages

  • Used Zammad version: 6.0
  • Used Zammad installation type: Ubuntu DEB
  • Operating system: Ubuntu 20.04
  • Browser + version: Edge, Chrome, Firefox, Safari

Expected behavior:

Setting “Pending until” and recieving a notification
image

Actual behavior:

Not getting Notifications for some pending reached tickets

Steps to reproduce the behavior:

Can’t reproduce, some work, some not.

image


image

Hi @bur.

What happens when you run zammad run rails r 'Ticket.process_pending'?

It takes 10 seconds, then nothing happens, I recieve the cursor back.

image

… and your tickets are still not changed?

Nothing happened. What should happen? Should I recieve the missed notifcations when running?

Exactly. It’s the method that takes care of all tickets that are in a pending state + reached their pending time.

Please use the Rails Console and execute the following command, it’s just a search: Ticket.where(state_id: Ticket::State.where(state_type_id: Ticket::StateType.find_by(name: 'pending action')).where.not(next_state_id: nil).pluck(:id)).where('pending_time <= ?', Time.zone.now)

I would say, no News here

This means there are no tickets in a pending state that are overdue.

OK. But as you see in the Screenshots, the Ticket was set to pending today 09:00 AM, My User was configured to get Notifications on overdue and I got no Notifications for that Ticket.

What could be wrong?

Did you play around with the ticket states?

Rails Console:

  • Ticket::StateType.find_by(name: 'pending action')
  • Ticket::State.where(state_type_id: Ticket::StateType.find_by(name: 'pending action'))

This looks fine. Could you post the ticket history of the ticket you’re missing the notification for?

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.