Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. Hi my friends, I am trying to create a function that only brings the information of the tickets with the maximum of the date and disregard the other values with inferior dates. Just like the print screen attached. I'm trying to use the follow function: =Máx([Last Mod Date]) But it doesn't work fine. Can anyone help me? Thanks guys.
  3. incident/request cannot close without closing associate change order in ca sdm Please help me to do this.
  4. Earlier
  5. Hi All I'm trying to enhance the Change Workflow tasks "CAB CONSOLE" (orderwf_approval_console.htmpl) view by wanting to add a tab/s to show the attachments and property questions and answers/values for a change When I just indicate <PDM_MACRO name=tab title="Attachments1" height=300 id=attmnt src="xx_attmnt_tab.htmpl"> it shows all attachments, I need some help with the src="????" part of the requirement to show associated attachments and another tab to show associated properties for the specific change order being viewed. In 'detail_chg.html' it is displayed as ... <PDM_MACRO name=tab title="Attachments" height=300 id=attmnt src="OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=chg+PERSID=$args.persistent_id+NO_DP=yes"> But this does not work. Using WF also not, I need to build the relationship If at all possible, does anybody have a knowledge document on how to construct these, to understand and be able to build future requirements. Can anybody please help. Thank you Jacques
  6. When you use the doSelect method it will return a Handle. You use this Handle (also known as persistent_id) as your value for category when creating a Request/Incident/Problem ticket.
  7. I don't think you can create a macro for the Activity Log object (not an available option when creating a macro). I think you would need to create a trigger for the alg object and create some SPEL code to do what you want.
  8. Perhaps you can post the code you have so that others can look at it.
  9. If possible, Can you post the doSelect call . I was facing issues in where clause parsing. Thanks, Rama
  10. Hi Experts, I want to create a condition macro to check the description of close activity when the ticket is closed. If the close activity description = "The ticket closed by Oneclick", then I have to set Resolution method= closed by tool Please help on how to create that condition macro on act_log table Regards, Saran
  11. Hello Everybody, I have an issue with Service Desk in 12.7 and I asked if someone can help to understand what´s going on. In the middle of the day, our CA Service Desk start to go slow for everything (Login, Change a rol, Save a Change). Making a research in the logs I found thousand lines saying: 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows C1C6F456A3892841A0B2C6B3829768FB 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows F151E7D14F80474ABE177F39B2CE45AB 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows DA5FC743F4F772489FA9960E8955ED5E 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows 85071B859CB6AC44ADA69CBBC565C4AB 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows 4473733CCAE3954B99F00068630FE24A 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows F8B8BD6F97DB9A4495DA38FBA6C7DC49 05/21 10:26:51.80 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows 6A7EE01F0D166E46A1E73A5927B60915 05/21 10:26:51.82 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows D812F7849AC07A43AD887AA58980138E 05/21 10:26:51.82 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows 982DBD8C703375459023D2652DFB7591 05/21 10:26:51.82 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows 9A2891C2E023B8419D25EACA4DCCBF23 05/21 10:26:51.84 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows E796A29FB543804390FFC07BBDCC9ED8 05/21 10:26:51.84 G500603SV0SS bpvirtdb_srvr 31896 SIGNIFICANT vdbsql.c 1433 refreshing cache for table 'ca_contact' rows EBE75EA2AC1B7B4F95EEEFBD1C931B1E I found a document to stop this using the dbmonitor_nxd -c stop -t ca_contact but I don't why this action happens. At this point, the monitor for this table is stopped but I don´t either what it will happen with the application if it continues stopped. The document about dbmonitor_nxd says the following: The main function of dbmonitor_nxd is to generate CHANGE notifications for changes in specified tables that did not occur through CA SDM. In order to perform this function, the monitor periodically queries the database, determines what was changed externally and then sends CHANGE notifications to the bpvirtdb_nxd server. The bpvirtdb_nxd server notifies all domsrvr servers of the change, which causes each domsrvr to update its cache of specific database objects and then notify all other processes that subscribe for changes in the specified tables. Here, I don´t know where is the bpvirtdb_nxd server to see the changes that the document says. This issue happened 2 times in a week and I don´t know why. Please, someone has any idea about this problem? Thank you very much!
  12. How can I programatically get the pcat:<cta-id> for a servicedesk ticket category? If its doSelect/doQuery how to use these to get the pcat:<cat-id> for a category to set for the creating a ticket?
  13. Can someone help me with some sample code how to use python and request module to create a ticket using the SOAP createRequest? I am getting uneven key value in attribute values. A clean example can help me integrating a very high severity task? -HELP
  14. Is there any workaround to effectively accomplish this, even if it's not directly doable?
  15. Hi Community, I have following questions, can someone help me in these- i. Which is the best python package to interact with the servicedesk SOAP interface?If possible any helpful links available for this? ii. Is servicedesk also providing REST interface to interact from external systems? iii. Which version is best suited from the available packages to interact with the server, e.g SOAPpy is not working great with the py3 version platforms? iv. If possible can you provide some code examples from both the types SOAP/REST for Python programming? Waiting for your response. Thanks, Niraj
  16. Hi, there is no way to create a query that will do that, because the transfers only stored in the act_log as a String. There is no existing history. In my opinion you need: 1. A counterfield (z_count_transfers) 2. Spelcode with a trigger --> EVENT("UPDATE") && active == 1 && group { } . The code should count the transfers and incrementing z_count_transfers 3. Stored query (example): type = \'R\' AND open_date > StartAtTime(\'TODAY\') AND z_count_transfers > 0 But that will work for transfers generally....
  17. Hi bruno, did you handle this case?
  18. Hello, I am using your customization in our environment for external users, everything is working fine but when i click update button field is update but also giving me below error. AHD04407:CA Service Desk Manager html generation error. Could not find or process 'detail_cnt_ro.htmpl'.AHD04714:Unable to open file detail_cnt_ro.htmpl at ?: No such file or directory (2) userid=********** Kindly help me! Regards, Naveed Akhter
  19. Hi soph, Do you know the name of this required field in cr factory? If yes, what is the field type? Boolean? Which value have you tried to set for this field in attrVal array?
  20. Hi thiago23oliveira, Instead of use multiple "PRESET=", try to do this: <PDM_MACRO name=button Caption="Criar incidente[!eaI]" Func="create_new('cr',0,0,0,'PRESET=type:I@@customer:$args.customer@@category:$args.category@@assignee:$args.assignee@@group:$args.group', 'INITFROM=frm003')" hotkey_name="Create Incident[!eaI]" ID=ITIL_INCIDENT>
  21. Hi matrojas, I don't know how to do it, but you can find a working example for create a Change Order with attachment (in Java) under NX_ROOT\samples\sdk\rest\java\test3_attachments\SampleNewResourceWithAttachment.java. Hope it helps!
  22. You can also add +KEEP.RowsPerPage=100 behind a src: <PDM_MACRO name=TAB title="Activity" height=300 id=alg src="OP=SEARCH+FACTORY=alg+QBE.EQ.call_req_id=$args.persistent_id+QBE.EQ.internal=0+QBE.NE.type=PROP_CHANGED+KEEP.RowsPerPage=100" And you don´t need to change the ListPageLength for all lists.
  23. for initial load of update_lrel_xxx form find this area in list_nr.htmpl: <PDM_IF "$args.KEEP.ForLrel" == "1"> document.write('<input type="hidden" name="HTMPL" value="update_lrel_nr.htmpl">'); and add document.write('<input type="hidden" name="KEEP.RowsPerPage" value="100">'); in update_lrel_xxx you can Change all links in loadActions() with this: jq("[id^=dx_]").each(function() { jq(this).attr("href", jq(this).attr("href") + "+KEEP.RowsPerPage=100"); }); regards, pacy
  24. I have been successfully creating tickets in CA Service Desk using Powershell for a couple years now, but I have been tasked with figuring out how to add an attachment to the ticket. They way I am doing it currently is, once I have the $accesskey: $URIString = "http://$servername:8050/caisd-rest/cr" $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("X-AccessKey", $accesskey) $headers.Add("Accept", "application/xml") $headers.Add("Content-Type", "application/xml; charset=UTF-8") $headers.Add("X-Obj-Attrs" , "ref_num") $body = "<cr><group COMMON_NAME=`"Security Admin`"/><summary>`"Test Ticket - Please Ignore`"</summary><requested_by COMMON_NAME=`"AutomationReview, UserAccess`"/><customer COMMON_NAME=`"AutomationReview, UserAccess`"/><description>`"Test Ticket - Please Ignore`"</description></cr>" $b = Invoke-RestMethod -Method POST -Uri $UriString -Headers $headers -body $body This works great, but I can't figure out how to add an attachment. I tried adding "<attachment>`"C:\temp\empID.txt`"</attachment>" to the middle of the body, and while that didn't throw any errors, it didn't seem to do anything. Can anyone point me in the right direction?
  25. Hi guys, In the request form there is the Create incident button. I would like to take some of the request information, such as customer, category, assignee, group, summary and description to the new incident. To do this I have created a few presets in the "Create Incident" button settings, and created the form to handle summary and description information. But when I click to Create the new incident from the request, the summary and the request information is not copied to the new incident. I'm putting the codes below: What's is wrong guys? =(
  1. Load more activity
×
×
  • Create New...