Genpact Cora Knowledge Center

Support

Apply Different XSLT Styles for Each Workflow Template

To differentiate between different workflows in email messages from Cora SeQuence, you can use the following if syntax.

<xsl:if test="contains(/message/workflowId/text(),'8bd50631-3858-46c9-82d5-918fb6dee465') = true()">
                <body dir="ltr" class="myBody">
                                <table width="90%" cellspacing="0" cellpadding="5" align="center" class="myTable">
                                                …
                                                …
                                </table>
                </body>
</xsl:if>

Download the full example: MessageBody.xslt