• 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

    • Looks like I will need it spoon fed, I can't figure it out.  Rough week and I am mentally fried.  LOL  Hello weekend!
    • I preffer the logic "1 method = 1 file", but you can include my code to this file, more, you can include spl side to existing function and avoid new mod, example: cr::zSetcrLoc_TOI (...) { // fill location: if (!(is_null(customer.location)) && (is_null(zLocation_TOI))){ zLocation_TOI = customer.location; } // fill CI: // if CI already filled do nothing if (!is_null(affected_resource)) { logf(SIGNIFICANT, "%s > Ticket already have attached CI [%s]", persistent_id, affected_resource.name); return; } object zobj, zfound; int zcount; send_wait(0, top_object(), "call_attr", "nr", "sync_fetch", "STATIC", format("resource_contact = U'%s'", customer.id), -1, 0); if (msg_error()) { logf(ERROR, "%s > Unable to fetch CI's", persistent_id); } else { zcount = msg[1]; // if linked CI's cound equal to 1 - proceed, otherwise - exit if (zcount == 1) { z_found = msg[0]; send_wait(0, z_found, "dob_by_index", "DEFAULT", (int)(z_count-1), (int)(z_count-1)); if (msg_error()) { logf(ERROR, "%s > Unable to get CI", persistent_id); } else { zobj = msg[0]; affected_resource = zobj; // or: // affected_resource = zobj.persistent_id; } } } }  
    • MOD file
      MODIFY cr {POST_VALIDATE zSetcrLoc_TOI() 360 FILTER (EVENT("INSERT"));};   spel   cr::zSetcrLoc_TOI (...) {           if (!(is_null(customer.location)) && (is_null(zLocation_TOI))){                    zLocation_TOI = customer.location;           } }   can i include the spel code for ci item in this spell file by modifying mod file
    • Hi, could you share the mod file for that task?
    • Hi cdtj     We have spell for location it gets filled automatically once the ticket got created. can i include the spell code related to configuration item in that same spel file instead of creating a new one? can you please help me in this as i want to complete  this req in a week