AnsweredAssumed Answered

PDM_Macro in list page

Question asked by sharamateti on Feb 25, 2016
Latest reply on Feb 25, 2016 by sharamateti

Hi,

 

We want use the special handling function in list page to display an icon if the incident has a specific affected service.

 

<PDM_MACRO name=lsWrite text="pdm_if \"@{list.affected_service}\" == 'ServiceName'">
<PDM_MACRO name=lsWrite text="add_icon_to_affectedservice = 1;">

<PDM_MACRO name=lsWrite text="pdm_else">
<PDM_MACRO name=lsWrite text="add_icon_to_affectedservice = 0;">
<PDM_MACRO name=lsWrite text="/pdm_if">

 

The above function doesnt work when i hard code any service name , but working if query against the length. I was looking out how to match the selected service in the incident and if its matches to this service it should show the icon.

 

Regards,

Sharath.M

Outcomes