I have this visual force template that is creating a repeat on the below field. However I don't want it to include BMCServiceDesk__actionId__c = 'Email Sent' within the email body but to include all other actions. Would I need to develop a class to do this?
The visualforce template include the following:
<apex:repeat var="ih" value="{!relatedTo.BMCServiceDesk__Incident_Histories__r}">
<tr>
<td><b>{!ih.BMCServiceDesk__actionId__c} </b></td>
<td><b>{!ih.BMCServiceDesk__date__c} </b></td>
<td><b>{!ih.BMCServiceDesk__note__c} </b></td>
<td><b>{!ih.BMCServiceDesk__userId__c} </b></td>
</tr>
</apex:repeat>
so my email looks like a tabled list (unfortunately i cannot post an image as I stackexchange will not let me)
Any help to remove this would be greatly appreciated.
Thanks,
Sonya