Jump to content
  • Welcome to ServiceDeskUsers.com, a user community for CA Service Desk Manager.  This community is created by users for users.

  • Announcements

    • Gregg

      Looking for the wiki content?   12/20/2015

      Until I can transfer the wiki content over to the new Articles, you can find the old content here: http://www.greggsmith.net/wiki.
    • Gregg

      New site logo   01/06/2016

      A special thanks to brianshs for creating a new site logo!
  • Get LinkedIn

    Get LinkedIn to the ServiceDeskUsers Group

  • Popular Contributors

    Nobody has received reputation this week.

  • Posts

    • Hello Everyone, I am new to this forum ,really  appreciate the way people share their ideas i have been looking for solution to a enhancement request. we are working on CA Service Desk 14.1 where we are trying to make external_ticket_system required when the resolution_code=='Vendor' i have gone through some similarly looking question and solution in this forum and created a spel file but that does not seems to work for me. hope to get some thoughts from you all . zmyscript.spl // Use 'cr' for Requests, Incidents & Problems, 'chg' for Changes, and 'iss' for Issues
      cr::zmyscript(...) {
      string zmsg;
      // Enter an if statement
      if (is_empty(external_ticket_system)&& resolution_code == "resocode:400012") {
      // Enter an alert message that appears when the if statement is fulfilled
      zmsg=format("external_ticket_system is required in order to close this ticket");
      } zmyscript.mod   // Use OBJECT cr for Requests, Incidents & Problems
      // Use OBJECT chg for Change Orders
      // Use OBJECT iss for Issues
      OBJECT cr {
        TRIGGERS {
          PRE_VALIDATE zmyscript() 111 FILTER(EVENT("UPDATE"));
    • CA doesn't provide much guidance on this topic, all I've seen them say is reorganize/rebuild table indexes when needed. I plan to review the following automated reorganize script with one of our dbas and scheduling it for a weekend.  http://sqlfool.com/2011/06/index-defrag-script-v4-1/ You can also check for long running queries and review them with a dba to see if additional indexes would be a benefit.  https://www.sqlservercentral.com/Forums/Topic619606-360-1.aspx
    • Required guidance on performing Service Desk DB Maintenance activity. Database is working on SQL.
    • Hi; so I finally resolved this via a different approach; appreciate all your assistance but I think our pages were too heavily customised for the proposed process to work correctly at our end. I got it working by adapting the employee; update status page as follows:      <PDM_MACRO name=button caption="Approve Request" disabled="defer" func="detailSave()" hotkey_name="Save" id="btn001" width=0>      <PDM_MACRO name=button caption="Cancel" disabled="defer" func="detailCancel()" hotkey_name="Cancel" id="btn002"    width=0>      <PDM_MACRO name=button caption="Clear Remarks" disabled="defer" func="document.main_form.reset()" hotkey_name="Clear Remarks" id="btn003" width=0>      <PDM_MACRO name=btnEndRow>      <PDM_MACRO name=dtlStart>      </script>      <input type=hidden name=SET.status value="PRBAPP">      <script language="JavaScript">      add_date_field("alg.time_stamp", "$args.alg.time_stamp_INT_DATE");      <PDM_MACRO name=dtlStartRow>      <PDM_MACRO name=dtlReadonly hdr="Current Status" attr=status>      <PDM_MACRO name=dtlStartRow>      <PDM_MACRO name=dtlTextbox hdr="Please enter reasons for approval" attr=alg.description colspan=3 keeplinks=yes rows=8 size=80 spellchk=yes>      <PDM_MACRO name=dtlEndTable> My new custo drives the status changes from the save button action; and I have created 3 of these called from my previous links. The base code behind the update status page seems to include the base code to call the page refresh upon save and thereby solves the problem I was experiencing.    
    • not sure how to do this for employee role, but: that's the reason why I asked for full JavaScript function you use to open new page. You need to pass some extra param to URL to make status change form know where to navigate you and I have tested code from this post:  and it works in my env...    For more information could you open Status change form, then hit F12 to open browser's console and paste followed code then give result back:
        console.log("HTMPL : " + ahdframe.jq("[name=HTMPL]").val()); console.log("HOME ACTION : " + ahdframe.jq("[name=KEEP.HOME_ACTION]").val()); console.log("URL : " + ahdframe.window.location.href); // You can wipe site name from this line but keep everything after "?" sign Regards, cdtj