Jump to content

PMXSD

Members
  • Content count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About PMXSD

  • Rank
    Level 2 Contributor
  1. Hello Collaborators, I am trying to configure the integration between CCA 12.8.3 and CA Service Desk 12.7 using SDM Integration tab in CCA. At the moment to execute a job which one only recover information about Server and NIC Details, this error message shows up in the logs: CCA-SDM-1002: SDM Mapping files are not valid or not available. I researched this message but nothing about that. Someone knows this error message and why this is happening? Thanks! PMX
  2. You rock man!! I modified my code adding format function and it works! Finally, the code is: chg::zmatriz_riesgo(...) { object obList; int kpi_count, afectados, pruebas, ambiente_homologado, rollback, contingencia, frecuencia; string chg_num; chg_num = argv[3]; // ********** Existencia de Elementos de Configuracion KPI ********** uuid who; send_wait(0, top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; send_wait(0, top_object(), "call_attr", "api", "get_list", "lrel_asset_chgnr", who, format("chg.chg_ref_num IN '%s' AND nr.zkpi IN '1'", chg_num), -1); if (msg_error()) { logf(SIGNIFICANT, msg[0]); } else { obList = msg[0]; kpi_count = msg[1]; } Thank you very much for your quick answer and help! Regards. PMX
  3. Good morning collaborators, I am building a spel code using get_list method to get the amount of CI's which they are element's KPIs in a specific Change Order. For that I used the following code which one works when I put the change order number as hard code as this: chg::zmatriz_riesgo(...) { object obList; int kpi_count, afectados, pruebas, ambiente_homologado, rollback, contingencia, frecuencia; string chg_num; chg_num = argv[3]; // ********** Existencia de Elementos de Configuracion KPI ********** uuid who; send_wait(0, top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; send_wait(0, top_object(), "call_attr", "api", "get_list", "lrel_asset_chgnr", who, "chg.chg_ref_num IN '633' AND nr.zkpi IN '1'", -1); if (msg_error()) { logf(SIGNIFICANT, msg[0]); } else { obList = msg[0]; kpi_count = msg[1]; } but now I want to do this usable for any change order and I need to concatenate a variable in where clause after chg.chg_ref_num. I tried this but it doesn't work: chg::zmatriz_riesgo(...) { object obList; int kpi_count, afectados, pruebas, ambiente_homologado, rollback, contingencia, frecuencia; string chg_num; chg_num = argv[3]; // ********** Existencia de Elementos de Configuracion KPI ********** uuid who; send_wait(0, top_object(), "call_attr", "cnt", "current_user_id"); who=msg[0]; send_wait(0, top_object(), "call_attr", "api", "get_list", "lrel_asset_chgnr", who, "chg.chg_ref_num IN '+chg_num+' AND nr.zkpi IN '1'", -1); if (msg_error()) { logf(SIGNIFICANT, msg[0]); } else { obList = msg[0]; kpi_count = msg[1]; } Can you tell me what is wrong in the concatenation in get_list method? Regards.
  4. Hello Everybody, I have this requirement to develop. From Configuration Item tab in a Change Order when I press on Update CI I have the Search Configuration Item page where we have the New Create option. I need to pass to that option (New Create) a value which will be loaded in the field DNS Name when CI is created. The main idea of the development is fill the DNS Name field with a constant value when a CI is created from a Change Order in the Configuration Item tab and a normal functionality when a CI is created from CMDB. Can someone help me on this? Thanks!
  5. Hello everybody, I need to set a Service Status to whatever different to empty when a CI is created from Create New in tab Configuration in a change order. When a CI is created from CMDB panel, Service Status should be empty as default. Can someone help me? Thanks!!
  6. Any idea about how this code can work for lookup field?
  7. Hello everybody, I wrote a preSaveTrigger function in detail_chg.htmpl to make required some fields and that it's working fine. Also, I have a custom form associated to detail_chg.htmpl as a tab and also I need to make required some fields in that form but when I create a preSaveTrigger in that form for required fields, that code is not responding. Take care that only I pressed the Save button in the detail_chg form and that save the information in my custom form located in the tab, but I am not totally sure if both preSaveTrigger function can be instance in the same moment (detail_chg and one form in the tab) Can someone let me know, a way to implement it? Thanks!!
  8. I need to use something like this but if the contact belongs to the group so a field needs to be show and I am thinking use the in variable in a PDM_IF condition but it's not working. Please, can you tell where I need to write the code to know if the contact is in a group? Thanks!!
  9. PAM Forms Language

    Hello Everybody, I have some interaction forms in PAM and I need to know if it's posible set different text languages according where the people coming from for a same group. So, I get the group's member but all them are coming from different countries. Please, let me know if it's posible. Thanks!!
  10. You're rock!! I used the operator to invoke Service Desk's Web Services and then applied the createObject method and that solved the issue and also I learned to use the web service! When I finish this development I will post this in the Service Desk Library. Thank you very much Mitu
  11. Thank you Mitu, but I don't see any operator to insert a new value for a custom table (just Select or Update but not Insert). It's that correct? Please let me know! Thanks!
  12. Forum, I have created a custom table and with that I did a list and detail form to fill information in Service Desk but also that table can be filled with a process in PAM. So, here I have an issue because when I add information with PAM process and then I try to add information in Service Desk also, I get an error saying that I violated Unique ID. So, I did a bit researching and I noticed that when I add information using the PAM's operator Insert in Database, the ID is not updated in Service Desk when I try to fill the information in Service Desk. How can I manage the IDs in the custom table to avoid this issue? I need this as soon as possible to deliver a development! Thank you so much!
  13. To explain better what I need, I want that my detail form used in the create new button has a different behavior according if that button was pressed from one tab (approvers) or another one (deployers). Take care that all the data is saved in the same table and the detail form will use some fields in the approver's case and others in the deployer's case. Please, let me know if your suggestion is about this idea. Thanks for you quick response!
  14. Hello Everybody, I am in the middle of a customization and I need your valuable help for a how-to. I have created a customized table (zapprovers_deployers) and there I want to save the approvers and the deployers for an organization all in the same table but they are showed in 2 different list in 2 different tabs (list_zapprovers.htmpl and list_zdeployers.htmpl). At this point, all it's Ok, but the problem is when I have disabled the Create New Button to show another one in order to show my custom form (only a form it's possible according to the convention for detail form in a create new action). The thing is that I need to show some fields in that detail form when the user has selected the approver tab and other fields when the user has selected the deployers tab and I need to set a local variable coming from the list form to the detail form to do a PDM_IF and then it shows the fields that I need. Can someone help me with this? Thanks!! PMX
  15. Team SDU, This is my first post asking for a solution about to hide and show a label on the top of Incident Form saying "Critical Service" when the selected affected service has a Service Impact as 1 or 2. The label will be a text box as read-only and I need to hide or show that label according the condition in edit mode, that means, in the meantime the ticket is created. I was able to write a label in the form saying Critical Service but now I need to show or hide according the condition if the affected service has a service impact as 1 or 2. Please, let me know any idea about how to advance on this. Thanks Everyone. PMX.
×