I'm working on IDOC script wherein a function rsRename(code below) returns TRUE/FALSE if the function is a success/fail respectively. Now I'm using this function in an HTML email template and it prints value 1 for the condition TRUE in the email. I want to restrict this function from printing value 1 in Email. Definition of rsRename function: http://docs.oracle.com/cd/E21043_01/doc.1111/e10726/c08_config_ref263.htm
"<tr>
<td align ="center" vertical-align="top" width="60%" style='background:#E6E6D8;min-width:600px'>
<p style="padding-left:10px">
<$executeService("GET_SENDTOWORKFLOW_HISTORY_EMAIL_DETAILS")$>
<$numrowSTOWFH = rsNumRows("SendtoWorkflowActionHistory")$>
<$executeService("GET_WORKFLOW_HISTORY_EMAIL_DETAILS")$>
<$numrowWFH = rsNumRows("WorkflowActionHistory")$>
<$if numrowWFH gt 0$>
<$rsRename("WorkflowActionHistory", rsNewName)$>
<$else$>
<$rsRename("SendtoWorkflowActionHistory", rsNewName)$>
<$endif$>
<span style="font-family:Calibri,sans-serif;font-size:12pt">
<b>Reason: </b></span>
<span style="font-family:Calibri,sans-serif;font-size:12pt;color:blue">
<b><$if xPurposeForSubmission$><$getFieldViewValue("xPurposeForSubmission",xPurposeForSubmission,"Reason")$><$endif$></span></b>
</td>
</tr>
"