Suppose you want to treat incoming tickets differently if they are created outside of working hours. In this example, we'll show how to assign them to a night shift team.
This is easy to accomplish with triggers. Go to Admin > Business Rules > Triggers, add a new Trigger, select the Event type and the Criteria: Date Criteria > Check Business Hours
![](/file.php/31035820TAAAJCDSMHTBPGD0/image.png?access_token=ryr7t0-pbrcowojsw-b784d88e1f0618e7ed66b0e4f555d56a23b2508a)
![](/file.php/31035833DJYTWQBZMBNAJCD0/image.png?access_token=ryr7sz-mikchefcox-ee0ae691e64217693b74a10838d3f7192365b4d4)
Note that the "business hours" used will be those Default Working Hours in Admin > Configuration > Business Hours - but you could choose to specify custom hours just for this trigger.
You'd probably also want the same team to receive replies to tickets from users, not just new tickets. To achieve this, create a new Trigger with the event New Reply
![](/file.php/31035864PJYXHQYNSHTGRKC0/image.png?access_token=ryr7sz-hogcxuzhwv-15387abf90a146f6cc3993b13a17b6ee38ee8a85)
Adicionar um comentário
Inicie sessão ou registe-se para enviar um comentário.