CA Service Management

 View Only
  • 1.  PDM_IF to check task name

    Posted May 30, 2018 07:51 PM

    I need to show or hide the close date field based on the task name.

    I tried the below condition on the detail_wf.htmpl, I didn't get the desired result.

     

    <PDM_IF "$task.sym == "Task Name">

     

    Can someone please help me out here?

     

    Thanks,

    Vis



  • 2.  Re: PDM_IF to check task name
    Best Answer

    Posted May 31, 2018 01:43 AM

    There is no such variable as $task, you probably want something like

    <PDM_IF "$args.task.sym" == "My Task" >
    ...
    </PDM_IF>


  • 3.  Re: PDM_IF to check task name

    Broadcom Employee
    Posted May 31, 2018 09:10 AM

    or

    <PDM_IF "$args.sym" == "My Task" >


  • 4.  Re: PDM_IF to check task name

    Broadcom Employee
    Posted Jun 01, 2018 04:43 PM

    Vis, you have this done? Thanks _Chi



  • 5.  Re: PDM_IF to check task name

    Broadcom Employee
    Posted Jun 04, 2018 01:41 PM

    Vis.........

     

    Did the information provided by either Cristi or Chi help?

     

    If so, please mark one of the answers as correct so that this message thread can be closed.



  • 6.  Re: PDM_IF to check task name

    Posted Jun 06, 2018 04:14 PM
    <PDM_IF "$args.task.sym" == "My Task" >   - Only this option helped me. It didn't work for $args.sym