Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Conditional Message Body from XML Bursting

Received Response
363
Views
1
Comments

Summary

Conditional Message Body from XML Bursting

Content

Hi All -

We have requirement of sending different message based on Operating Unit from XML Bursting.

I see we are getting OU in the XML data, however not sure how to place if else statement for Email Body.

Any clues.

Below is sample of my XML Bursting File, Text of "Attached is invoice for payment." is something I want to make dynamic

====================

<xapi:message   id="EMAIL"

                                to="${CUST_PREFERENCE}"

                                cc=""

                                bcc=""

                                attachment="true"

                                subject="INVOICE ${TRX_NUMBER}"

                                content-type="html/text">Attached is invoice for payment.

Regards,

Accounts Receivable</xapi:message>

====================

Answers

  • Brajesh Shukla-95078
    Brajesh Shukla-95078 Rank 7 - Analytics Coach

    Hi ,

    We cannot put if condition in Bursting file.

    In alternate methode you can generate the message body in XML data by using OU Name in if condition and then at the time of busting you can use that tag in message body