- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017 01:05 PM
I need the where clause with 2 conditions :
1- tsk_opened_at >= DATE('2017-01-01') but nothing happend.....
2- (tsk_sys_class_name ='request' || tsk_sys_class_name ='incident' || tsk_sys_class_name ='catalog task' || tsk_sys_class_name ='external customer support' )
I have tried in differents way many times without any results.
Coud someone advice me ?
Solved! Go to Solution.
- Labels:
-
Performance Analytics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 06:55 AM
It seems you cant create a DB view with only one table, a workaround would be to add the task table a second time with prefix tsk2.
Then in tsk2 where clause set:
tsk_sys_id = tsk2_sys_id && tsk_opened_at > '2017-01-01 08:00:00' &&
(tsk_sys_class_name ='sc_request' ||
tsk_sys_class_name ='incident' ||
tsk_sys_class_name ='sc_task' ||
tsk_sys_class_name ='u_external_customer_support'
Also make sure you are using the table name, not the label, for example sc_request instead of Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 06:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 06:55 AM
It seems you cant create a DB view with only one table, a workaround would be to add the task table a second time with prefix tsk2.
Then in tsk2 where clause set:
tsk_sys_id = tsk2_sys_id && tsk_opened_at > '2017-01-01 08:00:00' &&
(tsk_sys_class_name ='sc_request' ||
tsk_sys_class_name ='incident' ||
tsk_sys_class_name ='sc_task' ||
tsk_sys_class_name ='u_external_customer_support'
Also make sure you are using the table name, not the label, for example sc_request instead of Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 07:53 AM
Hi Arnoud you are right!
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 08:11 AM
Good, good luck!
I have added my initial response to the answer you marked correct, so it's easier to find.