PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11/28/2010 6:11 PM by  Rod Weir
Custom SQL to find closed jobs that have linked assets that are checked out for service
 0 Replies
AddThis - Bookmarking and Sharing Button
Sort:
You are not authorized to post a reply.
Author Messages
Rod Weir
HelpMaster development team
Helpdesk Hall of Fame
Helpdesk Hall of Fame
Posts:555
Points:1017


--
11/28/2010 6:11 PM

    Here's an interesting scenario that was just received from a HelpMaster user via our tech support.  I'm reposting the solution here as it might be of use to others who have implemented the same or similar workflow.

    The business workflow

    When jobs are logged that relate to a piece of equipment, (asset), the business practice is to link that asset to the job.   This allows the business to track the service and helpdesk history for that item.

    The asset is then checked out for service as part of the job / asset lifecycle.  The asset service history is then recorded.

    Before the job is closed, the asset should be checked back in to complete the service request.  

    The problem !#?

    Sometimes the job is closed before the asset is checked back in from it's service status. The asset is left in service limbo with no resolution / service notes added to it.

    The challenge

    The challenge here is to notify the helpdesk manager via email whenever a job is closed that has a linked asset that has not been checked back in from a service.

    The solution - Priority Manager custom SQL

    By utilizing the custom SQL feature of the Priority Manager, this scenario can be monitored, managed and email alerts can be sent to the service manager.  Here's how:

    1. Create a new Priority Manager profile
    2. Give it a name
    3. Click on the "Custom SQL"
    4. Paste the following SQL.  Note, the SQL will only "look" for jobs that have been closed within the last month.

      SELECT tblHelpdeskJobs.pkID
      FROM
      qryRelationshipsAssetsLinkedToJobs_All INNER JOIN
      tblServiceDetails ON qryRelationshipsAssetsLinkedToJobs_All.AssetPKID = tblServiceDetails.AssetLink INNER JOIN

      tblHelpdeskJobs ON qryRelationshipsAssetsLinkedToJobs_All.JobPKID = tblHelpdeskJobs.pkID
      WHERE (tblServiceDetails.ActualDateBack IS NULL) AND (tblHelpdeskJobs.DateClosed > DATEADD(month, - 1, GETDATE()))





       
    5. On the Email screen, select the "Other" email option
    6. Enter the email address of the service manager, and select an appropriate Email template (you might need to create this beforehand).



       
    7. Enable the Priority Manager profile and let it do it's thing.
    8. The service manager will now get an email whenever a job is closed that has a linked asset that has not been checked by from service.

    Problem solved!

    HelpMaster development team
    Check out the HelpMaster roadmap
    You are not authorized to post a reply.


    New version - HelpMaster v24 now available! by Rod Weir in Announcements with 0 replies A new major release of HelpMaster is now available! Read about some of the new features and improvements here:  https://docs.helpmasterpr...-f...

    New version - HelpMaster v23 now available! by Rod Weir in Announcements with 0 replies A new major release of HelpMaster is now available! Read about some of the new features and improvements here:  https://docs.helpmasterpro.com...

    March 2023 v22.7 maintenance release now available by Rod Weir in Announcements with 0 replies A maintenance release for v22.7 HelpMaster is now available! The maintenance release fixes a number of issues that have been reported since the ini...

    July 2022 release now available - New version released! by Rod Weir in Announcements with 0 replies A new feature release of HelpMaster is now available!  v22.7.22 For a list of the major new features of v22, see the new documentation site ht...

    June 2022 v22.2 maintenance release now available by Rod Weir in Announcements with 0 replies A maintenance release for v22.2 HelpMaster is now available! The maintenance release fixes a number of issues that have been reported since the ini...

    RE: Use PowerBI for HelpMaster dashboards by Rod Weir in Reports and reporting Hi SR, Thanks for the post. Yes, the PowerBI reports for HelpMaster have been well received. Download the latest version, from here. https://www...

    RE: Use PowerBI for HelpMaster dashboards by Scenic_Rim_IT in Reports and reporting Hi Rod - just wondering how PowerBI reports are going? Any chance you have a beta/pre-release version we can help test for you?...

    New version - HelpMaster v24 now available! by Rod Weir in Announcements A new major release of HelpMaster is now available! Read about some of the new features and improvements here:  https://docs.helpmasterpr...-f...

    New version - HelpMaster v23 now available! by Rod Weir in Announcements A new major release of HelpMaster is now available! Read about some of the new features and improvements here:  https://docs.helpmasterpro.com...

    March 2023 v22.7 maintenance release now available by Rod Weir in Announcements A maintenance release for v22.7 HelpMaster is now available! The maintenance release fixes a number of issues that have been reported since the ini...

    July 2022 release now available - New version released! by Rod Weir in Announcements A new feature release of HelpMaster is now available!  v22.7.22 For a list of the major new features of v22, see the new documentation site ht...

    June 2022 v22.2 maintenance release now available by Rod Weir in Announcements A maintenance release for v22.2 HelpMaster is now available! The maintenance release fixes a number of issues that have been reported since the ini...

    February 2022 release now available - New version released! by Rod Weir in Announcements A new major release of HelpMaster is now available! For a list of the major new features of v22, see the new documentation site https://docs.helpma...

    November 2021 release now available - New Major Version! by Rod Weir in Announcements A new major release of HelpMaster is now available! For a list of the major new features of v22, see the new documentation site https://docs.helpma...

    May 2021 release now available - New Major Version! by Rod Weir in Announcements A new major release of HelpMaster is now available! For a list of the major new features of v21, see the new documentation site https://docs.helpma...