I'm just wondering if what type of trigger should I use since I'm hoping to create a trigger notification after 2 days that the ticket hasn't been touch or update, is it threshold or creation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no easy solution to be notified "after 2 days that a ticket hasn't been updated". No standard trigger can do that, as a trigger is triggered when something happen to an object, never when nothing happen.
A threshold might do the job. You will need to create a new stopwatch with a 2 days goal and a Threshold at 100%. Then when the Ticket is updated while in that state, you should reset the stopwatch $this->ResetStopWatch('MyStopwatch');
Then use a trigger on threshold to generate the notification.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Another possibility would be to create your own background task (a class implementing iProcess). That would require more code but would allow more flexibility.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys,
I'm just wondering if what type of trigger should I use since I'm hoping to create a trigger notification after 2 days that the ticket hasn't been touch or update, is it threshold or creation?
There is no easy solution to be notified "after 2 days that a ticket hasn't been updated".
No standard trigger can do that, as a trigger is triggered when something happen to an object, never when nothing happen.
A threshold might do the job. You will need to create a new stopwatch with a 2 days goal and a Threshold at 100%. Then when the Ticket is updated while in that state, you should reset the stopwatch
$this->ResetStopWatch('MyStopwatch');
Then use a trigger on threshold to generate the notification.
Hello,
Another possibility would be to create your own background task (a class implementing
iProcess
). That would require more code but would allow more flexibility.