Query to show service catalog template details (MSSQL & PGSQL)

Query to show service catalog template details (MSSQL & PGSQL)


Tested in Build PGSQL (14300) or MSSQL (14306)


select sd.name "Service Name", rtl.templatename "Service Template Name", rtl.comments "Template description", rtf.description "Description field" from requesttemplate_list rtl LEFT JOIN requesttemplate_fields rtf ON rtl.templateid=rtf.templateid LEFT JOIN Categorydefinition cd ON rtf.categoryid=cd.categoryid LEFT JOIN subcategorydefinition scd ON rtf.subcategoryid=scd.subcategoryid LEFT JOIN itemdefinition id ON rtf.itemid=id.itemid LEFT JOIN Servicedefinition sd ON rtl.parent_Service=sd.serviceid where is_catalog_template='true' AND rtl.isdeleted='false' ORDER BY 1

                  New to ADSelfService Plus?