Jump to content
  • Welcome to ServiceDeskUsers.com, a user community for CA Service Desk Manager.  This community is created by users for users.

  • Get LinkedIn

    Get LinkedIn to the ServiceDeskUsers Group

  • Popular Contributors

    Nobody has received reputation this week.

  • Posts

    • Hi experts, I need some help to conclude a custom... Can someone help me to understand what is wrong and how I can fix this? I appreciate any help. I have a custom object (z_objeto_automatizacao) and I need to relate it to pcat object. Almost everything is working properly execpt when I click on Search Button it opens the list form of custom object, instead of update_lrel form. It should open my update_lrel form (update_z_lrel_pcat_objautom.htmpl), like this example of update_lrel_pcat To get to this point I create a LREL table (z_lrel_pcat_objautom) with a SREL to PCAT and other SREL to z_objeto_automatizacao. This is how my maj file looks like to create BREL: OBJECT z_objeto_automatizacao {     ATTRIBUTES z_objeto_automatizacao {         z_brel_pcat_objautom BREL z_lrel_pcat_objautom z_srl_objautom DYNAMIC { LREL z_srl_pcat; };     } ; } ; OBJECT pcat {   ATTRIBUTES pcat{     z_brel_pcat_objautom BREL z_lrel_pcat_objautom z_srl_pcat DYNAMIC { LREL z_srl_objautom; };   } ; } ; This is the tab in detail_pcat.htmpl <PDM_MACRO name=tab title="Objeto de Automatização" src="OP=SEARCH+FACTORY=z_objeto_automatizacao+QBE.EQ.z_brel_pcat_objautom.z_srl_pcat.id=$dob.id+KEEP.PERSID=$args.persistent_id+KEEP.forObjautom=1">   This is the button 'Relacionar Objeto de Automatização' in my custom list_form: <PDM_IF "$args.KEEP.forLREL" == "1">     document.writeln('<INPUT TYPE=hidden NAME=HTMPL VALUE=update_z_lrel_pcat_objautom.htmpl>'); </PDM_IF> <PDM_IF "$args.KEEP.forObjautom" == "1">     var cfgCanEdit = false;     var cfgCanCopy = false;     var enableExtraBtn = false;     <PDM_IF "$args.KEEP.forObjautom" == "1">         var enableExtraBtn = true;     </PDM_IF>              cfgExtraButton = new Array("Relacionar Objeto de Automatização", "zCreateNew()", enableExtraBtn);     function zCreateNew() {         update_with_lrel_style('pcat', '$args.KEEP.PERSID', 'z_objeto_automatizacao', 'z_brel_pcat_objautom',  'Objeto de Automatização', 'Objetos de Automatização relacionados', '', 'KEEP.forLREL=1+KEEP.lrelOBJAUTO=YES');         } </PDM_IF> NOTE: If I invert 'pcat' with 'z_objeto_automatizacao' like bellow, it works properly and call update_lrel_pcat.htmpl form, but I need the opposite. //     update_with_lrel_style('z_objeto_automatizacao', '$args.KEEP.PERSID', 'pcat', 'z_brel_pcat_objautom',  'Objeto de Automatização', 'Objetos de Automatização relacionados', '', 'KEEP.forLREL=1+KEEP.lrelOBJAUTO=YES');      Thanks in advance.
    • hi I want to create to create button on incident page which assign the incident as per the category default assignee. any suggestion regards
    • can anyone help me in getting status value for the other options like :  open , resolved, close, work in progress, acknowledge, hold.  Is their any proper document for this. If yes please guide me to that.
    • Thanks Scott for the reply. Really appreciate your help. as asked i am hitting following request : The second link you provided is pretty much informative as i can refer the createRequest method from the documentation. My request body is matching the arguments of createRequest method in the documentation also. But I think, the link you provided for user creation is not of much use, as going through the documentation i understand that i have to install the service desk to make things work. Isn't their any on cloud service where i will get 7 days or 10 days access to the feature and i can try the request on that. I will also need to update the ticket based on the the workflow. Can you provide some sample request body for updating the ticket. If you see this link you will find the same : https://community.broadcom.com/enterprisesoftware/viewdocument/ca-pam-ca-sdm-web-service-create-2?CommunityKey=1363a827-69af-4b38-b1c8-bfff7de977fd&tab=librarydocuments I am hitting curl request to make call for creating request in the service desk. <Header/> <Body> <createRequest> <sid>6386452672</sid> <creatorHandle></creatorHandle> <attrVals> <string>customer</string> <string>cnt:C0F772522D4DB62090CCDE3A9446</string> <string>requested_by</string> <string>cnt:737472GHID7897J3352CDE3A9446</string> <string>category</string> <string>400146</string> <string>description</string> <string></string> <string>summary</string> <string></string> <string>impact</string> <string>5</string> <string>type</string> <string>R</string> <string>zfmdpc</string> <string>401001</string> </attrVals> <propertyValues> <string></string> </propertyValues> <template></template> <attributes> <string>persistent_id</string> </attributes> <newRequestHandle></newRequestHandle> <newRequestNumber></newRequestNumber> </createRequest> </Body>  
    • Hey Vladimir! I'm not the strongest at C these days (I've been using Python for my API calls), but I would probably approach it by using a call to create a request, then using the returned data to grab the request # to make a second call to create the attachment. createRequest or createTicket (depending on your use-case) createAttachment https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/ca-service-management/14-1/reference/ca-service-desk-manager-reference-commands/technical-reference/web-services-methods.html
  • Create New...