• 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

  • Posts

    • Hi, I´m trying to update the group of all tickets in a list, from the option "Edit in list".  The problem is, when I save the changes appears the following error in some tickets, not all, and its tickets are not updated.  "Database checkin failed: INVALID AHD03025: Attempt to modify non_CO value. " Regards,  David
    • Dear All. I'm getting  the error bellow after compile the JWS example avaliable in ...\websvc\java\test2_basic Exception in thread "main" java.lang.Error: Unresolved compilation problems:      The method getObjectValues(int, String, String[]) in the type USD_WebServiceSoap is not applicable for the arguments (int, String, ArrayOfString)     The method createRequest(int, String, String[], String[], String, String[], StringHolder, StringHolder) in the type USD_WebServiceSoap is not applicable for the arguments (int, String, ArrayOfString, ArrayOfString, String, ArrayOfString, StringHolder, StringHolder)     at JWS.JWS.<init>(JWS.java:51)     at JWS.JWS.main(JWS.java:167) My JAR files are these below: Can someone help me? Thankful in advance.
    • This is a top-notch work and I really appreciate cdtj  for this great piece of code. Thanks Conan and Wizardry for your support.
    • Awesome!   The adjusted version works for me too.  I took it a little further.  I modified the description to include the userID of the contact since that's unique and added the action_desc and time_spent values so they would always be filled in.  My modified version looks like this... Much much appreciated.  =) grpmem::z_grpmem_insert(...) { logf(SIGNIFICANT, "Adding [%s (%s)] to [%s]", member.combo_name, member.userid, group.last_name); uuid who; send_wait(0,top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; // inserting into member's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)member.id, "description", format("Contact added to the group [%s]", group.last_name), "action_desc", "Group Membership Updated", "time_spent", "0", "type", "LOG"); // inserting into group's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)group.id, "description", format("[%s (%s)] added to this group", member.combo_name, member.userid), "action_desc", "Group Membership Updated", "time_spent", "0", "type", "LOG"); } grpmem::z_grpmem_delete(...) { logf(SIGNIFICANT, "Deleting [%s (%s)] from [%s]", member.combo_name, member.userid, group.last_name); uuid who; send_wait(0,top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; // inserting into member's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)member.id, "description", format("Contact removed from the group [%s]", group.last_name), "action_desc", "Group Membership Updated", "time_spent", "0", "type", "LOG"); // inserting into group's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)group.id, "description", format("[%s (%s)] removed from this group", member.combo_name, member.userid), "action_desc", "Group Membership Updated", "time_spent", "0", "type", "LOG"); }  
    • Hi cdtj,   Just tested your code, it works with a little bit of adjustment. It should be "cnt_id" and "type" is needed to insert comment. Thanks a lot for help out the community. grpmem::z_grpmem_insert(...) { logf(SIGNIFICANT, "Adding [%s] to [%s]", member.combo_name, group.last_name); uuid who; send_wait(0,top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; // inserting into member's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)member.id, "description", format("Contact added to [%s]", group.last_name), "type", "LOG"); // inserting into group's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)group.id, "description", format("[%s] added to this group", member.combo_name), "type", "LOG"); } grpmem::z_grpmem_delete(...) { logf(SIGNIFICANT, "Deleting [%s] from [%s]", member.combo_name, group.last_name); uuid who; send_wait(0,top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; // inserting into member's log //send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "chgalg", gl, 0, "change_id", chg_obj.persistent_id, "type", "LOG", "description", now(), "time_spent", (duration)0); send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)member.id, "description", format("Contact removed from [%s]", group.last_name), "type", "LOG"); // inserting into group's log send_wait(0, top_object(), "call_attr", "api", "insert_object", who, "cntalg", NULL, 0, "cnt_id", (uuid)group.id, "description", format("[%s] removed from this group", member.combo_name), "type", "LOG"); }   Conan