Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. Colleagues I need help.

    I need to create button or event on chg that will complete wf task.

    Can anyone help me pls? :rolleyes:

  3. Earlier
  4. Mail Eater Configurations

    Hi Folks, Any update on this. Thanks, Sonu
  5. Hi Folks, We are trying to configure mail eater in SDM. Can any body tell me the prerequisites for it. I had gone through the admin guide. Still I am not clear about the prerequisites. Here is what I understand about the prerequisites: 1. Mail Server Login user id. 2. User password. 3. Email ID. 4. 110 Port need to be open from SDM server. Please let me know if I am correct or not. Or I need something more to configure. Thanks & Regards, Sonu
  6. figure it out, peace of cake. thanks a lot very useful post!
  7. And then how are you connecting it with the activity notification?
  8. Hi all, Happy new year! We have a list of 153 Change Order templates that we use (SDM > File > New Change Order from Template). When we click to raise a new change order from template, only 101 are listed. Clicking the search button at the top (making no changes to the search arguments, everything wildcarded as default) lists them all as expected. This has only just started occurring. Any help would be greatly appreciated. SDM v12.7 Many thanks
  9. check browser console (hotkey F12) for errors
  10. I checked my form again. This form is on cr. But when I insert your code into my form resolved.htmpl, I am not able to click the "Save" button.
  11. Thanks for your answer, cdtj. But I still get stuck in putting your code in my form. I have Activity Type called "Summary Check" (code is SUM_CHECK) and the form of the "Summary Check" I write is resolved.htmpl . I can not put your code correctly in my form. Help me!
  12. hi, i think you can avoid spell in this scenario, you can simply define zbgt_summary_check on form level. if you're creating activity (alg) using OP=UPDATE+FACTORY=cr (used in transfer, status change, escalate, etc) you can specify attr as: docWriteln('<input name="SET.zbgt_summary_check" id="zbgt_summary_check" value="${args.zbgt_summary_check}">'); and if you're using OP=CREATE_NEW+FACTORY=alg like it used in log comment, code will be: docWriteln('<input name="SET.call_req_id.zbgt_summary_check" id="zbgt_summary_check" value="${args.call_req_id.zbgt_summary_check}">'); js part: function preSaveTrigger() { if (someErrorStatement) { alert("some error message"); return false; } else { alert("DEBUG: Setting 400001 to zbgt_summary_check"); jq("#zbgt_summary_check").val(400001); return true; } } preSaveTrigger triggers when user click Save button. Regards, cdtj
  13. Hi everyone, In cr table, I create new column "zbgt_summary check". I want to update the value of this attribute via using type of alg called SUM_CHECK. So I write a spell code on alg as the following quotes. After I had used this type SUM_CHECK, the server not response. Other side, when I used "send_wait(0, group_leader, "checkout", tech);" after "_action_desc = tech.zbgt_summary_check;" I got an error "update checkin of cr:404656 failed: AHD03025:Attempt to modify non_CO value". Can anyone help me solve this issue? Thanks in advance!
  14. Export button not working

    Buenas, Alguien pudo solucionar este problema? Saludos
  15. Hi, please share your trigger (mod file) too. If you're using POST_/PRE_VALIDATE on change factory, try to use POST_CI then. Regards, cdtj
  16. Hello Collaborators, I am trying to add an aditional workflow task in an already existing change order which one it has some workflow tasks using add_workflow method in spel code. This is my first time working with this method and I did this: 1) First, I wrote this line: send_wait(0, top_object(), "call_attr", "api", "add_workflow", who, "400401", "", "APP", 0, "group_task", 1, "wf_template", 400208, "description", "Operaciones Argentina"); I got an error message saying: 12/20 11:16:28.43 G100603SV278 spelsrvr 5124 ERROR api.spl 1507 err getting a change order or issue dob: NOT FOUND 2) Taking care the first attempt, I modified the parameter about change order persistent id: send_wait(0, top_object(), "call_attr", "api", "add_workflow", who, "chg:400401", "", "APP", 0, "group_task", 1, "wf_template", 400208, "description", "Operaciones Argentina"); But, in this case, the change order never finishs to save and the logs show: 12/20 11:25:06.52 G100603SV278 domsrvr 8508 ERROR attr.c 6196 No response to trigger chg::ztoma_control (3 time) after 120 seconds; waiting another 240 seconds Can you tell me what is wrong with the persistent id in the method? Thank you!!
  17. sorry for necroposting, I had the same error which was ignored for years and now I figured out the rootcause. incorrect references in notification templates can cause this error too.
  18. I am creating Change order workflow task using classic workflow. I have 2 requirement under this for task: 1. change order workflow Task required Notification to Requester of change order and also the Supervisor of Requester so 2 Notification Email one to requester and one to his manager. how Can I Achieve this ? If it can be done through change order workflow macro share me the code. 2. For one of the change order workflow task. Assignee will be "Requester" And for other task "Requester Line manager". For this what I have to do and how to achieve this ?
  19. Need some help\suggestion from the community members on the approach to display the properties in change detail form anywhere around the Summary Information section. We have tried keeping the below code before the Summary information line and not working out. <PDM_LIST SOURCE=args.properties> detailWriteProperty(n++, "$args.properties.required", '<PDM_FMT ESC_STYLE=C PAD=NO>$args.properties.label</PDM_FMT>', '<PDM_FMT ESC_STYLE=C PAD=NO>$args.properties.value</PDM_FMT>', '<PDM_FMT ESC_STYLE=C PAD=NO>$args.properties.sample</PDM_FMT>'); </PDM_LIST> <PDM_ELSE> <PDM_LIST SOURCE=args.property_list> detailWriteProperty(n++, "$args.property_list.required", '<PDM_FMT ESC_STYLE=C PAD=NO>$args.property_list.label</PDM_FMT>', '<PDM_FMT ESC_STYLE=C PAD=NO>$args.property_list.value</PDM_FMT>', '<PDM_FMT ESC_STYLE=C PAD=NO>$args.property_list.sample</PDM_FMT>'); </PDM_LIST>
  20. Need some help\suggestion from the community members on the approach to display the properties in change detail form anywhere around the Summary Information section.
  21. 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
  22. 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
  23. hi, you can try to use format function, example: format("chg.chg_ref_num IN '%s' AND nr.zkpi IN '1'", chg_num); Regards, cdtj
  24. 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.
  25. xfer_esc_cr automatic fill

    OK, I've found the problem, it seems I deleted some extra rows when I try something. I used original xfer_esc_cr and it works.
  26. Hi all. I use 14.1 you know, in detail_in; when you type a letter in assignee, it automatically searches and fills (if there is one specialist starts with this letter, it fills assignee automatically. if there are more than one, it allows you to search) the assignee field. bu in "transfer" screen, it does nothing. I added evt="onBlur=\\\"detailSyncEditForms(this)\\\"" to assignee and group fileds, but it does not fills nor searches. can you help me?
  27. Mitu when I try to Attached an Action Macro, it only shows me Workflow Action Macros' not Change Order based action Macros. I am on 14.2, do you have to do this via SPL code ?
  1. Load more activity
×