Can I create a custom data source for my queue?
Here is my_custom_field which I want to make available to the data sources in my queue.
select
(CASE
WHEN criteria > 0 THEN 0
ELSE 1
END) as my_custom_field
from ost_ticket t
inner join ost_thread th on t.ticket_id = th.object_id and th.object_type='T'
How would I go about creating this?