CA Service Management

Expand all | Collapse all

bring properties data on workflow page

Jump to Best Answer
  • 1.  bring properties data on workflow page

    Posted 04-22-2020 06:10 AM

    Hi Team

    how can we bring properties data from ticket (detail_in.htmpl) to workflow page  (detail_cr_wf.htmpl) ?


    I know for other fields we can bring information on workflow page like cr.customer   etc

    how can we bring properties information since it is dynamic

    #CAServiceDesk



  • 2.  RE: bring properties data on workflow page

    Posted 04-23-2020 03:59 PM
    @Lindsay Estabrooks can you please help​


  • 3.  RE: bring properties data on workflow page

    Posted 04-24-2020 12:47 PM
    Perhaps with a where clause PDM_LIST

    See the documentation - https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/building/building-ca-service-desk-manager/web-interface-modifications/htmpl-tags.html

    ------------------------------
    Lindsay Estabrooks
    Principal Consultant
    IT-EDU Consultants
    ------------------------------



  • 4.  RE: bring properties data on workflow page

    Posted 04-26-2020 04:55 AM
    Hi Lindsay

    Can you please help to write the where clause for one field.


  • 5.  RE: bring properties data on workflow page

    Posted 05-22-2020 03:14 PM
    Hi Lindsay

    could please provide one example to achieve this

    Many Thanks


  • 6.  RE: bring properties data on workflow page

    Posted 05-25-2020 01:11 AM
    Hi @asim Shah

    My approach to show the last KD-solution in a ticket

    <PDM_MACRO name=dtlStartRow>
    document.write("<TR><TH CLASS=detailro ALIGN=left VALIGN=top colspan=5 >Solution</TH></TR>");
    <PDM_LIST PREFIX=zlist SORT="id ASC" FACTORY=alg WHERE="call_req_id='$args.persistent_id' and type='SOLN''" LENGTH=1 ESC_STYLE=JS2>
    
    detailSetRowData('$zlist.description'); ​




  • 7.  RE: bring properties data on workflow page

    Posted 06-09-2020 02:54 PM
    Hi Henning

    Can you help me for properties data to bring on workflow page detail_cr_wf.htmpl


  • 8.  RE: bring properties data on workflow page
    Best Answer

    Posted 06-10-2020 03:30 AM
    Edited by asim Shah 06-19-2020 09:13 AM
    Hi @asim Shah.

    please try. That should do it.

    <PDM_MACRO name=dtlStartRow>
    document.write("<TR><TH CLASS=detailro ALIGN=left VALIGN=top colspan=5 >Ticket-Properties</TH></TR>");
    detailReadonlyFormRowHdr("Name");
    detailReadonlyFormRowHdr("Value");
    detailEndHdrRow();
    var n = 0;
    <PDM_LIST SOURCE=args.cr.properties>
    detailWriteProperty(n++, "$args.cr.properties.required",
              '<PDM_FMT ESC_STYLE=C PAD=NO>$args.cr.properties.label</PDM_FMT>',
              '<PDM_FMT ESC_STYLE=C PAD=NO>$args.cr.properties.value</PDM_FMT>',
    		  '<PDM_FMT ESC_STYLE=C PAD=NO>$args.cr.properties.sample</PDM_FMT>');
    </PDM_LIST>
    if ( n == 0 )
    detailNoProperties();



  • 9.  RE: bring properties data on workflow page

    Posted 06-19-2020 09:13 AM
    Dear Henning..

    Many Thanks . it worked . :)