Hello,
I am discovering iTop and I want to set up a trigger when a ticket is opened during non-working hours.
My idea was to create a trigger on the creation of a new object "User Request" and add an OQL filter.
The OQL query will check if the ticket creation date is not in the Coverage Window Interval and is not a declared Holiday.
I don't know if such a query is possible.
Have you already set up similar triggers?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Interesting. You'd have to go quite far in terms of OQL to find that kind of query, if it's even possible.
It might be faster to add a custom field; and add some logic on ticket creation to check for those conditions. The custom field would then just be something like "yes/no" and you can set a filter on your trigger to onlly send it in those cases you mentioned.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am discovering iTop and I want to set up a trigger when a ticket is opened during non-working hours.
My idea was to create a trigger on the creation of a new object "User Request" and add an OQL filter.
The OQL query will check if the ticket creation date is not in the Coverage Window Interval and is not a declared Holiday.
I don't know if such a query is possible.
Have you already set up similar triggers?
Thanks in advance.
Interesting. You'd have to go quite far in terms of OQL to find that kind of query, if it's even possible.
It might be faster to add a custom field; and add some logic on ticket creation to check for those conditions. The custom field would then just be something like "yes/no" and you can set a filter on your trigger to onlly send it in those cases you mentioned.