Open Ticket Notification filter by dynamicfield

Moderator: crythias

Locked
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Open Ticket Notification filter by dynamicfield

Post by drodralv »

Hello,

We want to be able to choose whether the user of a ticket will receive email notifications or not, choosing that while creating a phone ticket.

We added a DynamicField within the phone new screen and added that value "Yes" to the filter of the notifications. It´s working fine.

The problem comes while creating tickets via email, i could not find the option to autoset that dynamicfield to Yes while creating a ticket from email but i found Ticket::EventModulePost###TicketDynamicFieldDefault to set that DynField to Yes for the event TicketCreate. Anyway does not work, as it seem that the ticketnotification is working before the Ticket::EventModulePost###TicketDynamicFieldDefault acts, so the Dynamic Field to trigger the notification is updated too late and the notification is not sent...

Do you have any idea how to solve that problem? I could ask for agents/customers to send all emails with the postmaster filter included, so that may solve the issue but i would like to make it by default.

Thank you in advance
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Open Ticket Notification filter by dynamicfield

Post by skullz »

Try to use Admin > PostMaster Filter

Search header 'To' = you otrs mailbox

Set Header X-OTRS-DyanmicField_xxx = Yes

Good luck
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Locked