Query Report to export Service Catalog in ServiceDesk Plus

Query Report: Exportar Catálogo de Servicios en ServiceDesk Plus

El siguiente query de ServiceDesk Plus muestra los siguientes campos asociados a la información del Catálogo de Servicios:
  1. Service Type.
  2. Service Category.
  3. Service Category Desc.
  4. Templane Name.
  5. Description.
  6. Technicians.
  7. Name associated Service SLAs.
SELECT case when serd.ciid in(select ciid from businessservice) then 'Business Service' ELSE 'IT Service' END "Service Type", 
serd.Name "Service Category",
serd.Description "Service category desc", 
list.Templatename "Template Name", 
list.Comments "Description",
aaauser.first_name "Technician",
STUFF(( SELECT '  ' + sla.slaname + ', ' 
        FROM SC_templateslaassociation sctempsla
        INNER JOIN sladefinition sla on sctempsla.sla=sla.slaid
        where sctempsla.template=list.templateid
        FOR XML PATH('')),1,1,'') "Associated Service SLAs"  FROM RequestTemplate_list list 
LEFT JOIN RequestTemplate_fields field ON list.TEMPLATEID=field.TEMPLATEID 
LEFT JOIN Aaauser aaa ON list.Createdby=aaa.USER_ID
LEFT JOIN sduser sd ON field.TechnicianID=sd.userid 
LEFT JOIN AaaUser aau ON sd.userid=aau.user_id 
LEFT JOIN ServiceDefinition serd ON list.PARENT_SERVICE=serd.SERVICEID   
left join aaauser on field.Technicianid=aaauser.user_id 
ORDER BY 2

¿Tiene consultas o necesita asesoría? ¡Contáctenos!

Genotech
Administración de Servicios de TI