Integration

Get Involved. Join the Conversation.

Topic

    Ishan Agarwal
    Sending notifications to multiple recipients using microsoft...
    Topic posted June 18, 2019 by Ishan AgarwalRed Ribbon: 250+ Points, tagged Adapters, Integration, PaaS 
    32 Views, 8 Comments
    Title:
    Sending notifications to multiple recipients using microsoft email adapter
    Summary:
    Sending notifications to multiple recipients using microsoft email adapter
    Content:

    Hi,

     

    I able to send out notifications to single recipients using the microsoft email adapter in OIC but I need to send it out to multiple recipients. Can you please let me know what needs to be done?

    Version:
    19.1.5.190217.1559-24611

    Comment

     

    • Kanchankumar Khedkar

      You can repeat ToRecipients tag

       <nstrgmpr:ToRecipients xml:id="id_37">
                                            <nstrgmpr:EmailAddress xml:id="id_38">
                                                  <nstrgmpr:Address xml:id="id_501">
                                                        <xsl:value-of xml:id="id_39" select="'pqr@gmail.com'"/>
                                                  </nstrgmpr:Address>
                                            </nstrgmpr:EmailAddress>
                                      </nstrgmpr:ToRecipients>

       <nstrgmpr:ToRecipients xml:id="id_37">
                                            <nstrgmpr:EmailAddress xml:id="id_38">
                                                  <nstrgmpr:Address xml:id="id_501">
                                                        <xsl:value-of xml:id="id_39" select="'xyz@gmail.com'"/>
                                                  </nstrgmpr:Address>
                                            </nstrgmpr:EmailAddress>
                                      </nstrgmpr:ToRecipients>

      • Ishan Agarwal

        Thanks khedkar for your response on this !!

        Actually I am looking for a way of automating this task. As I have defined the email addresses of the recipients in some lookup as a comma separated value and from there I need to read these values and map it to the "ToRecipients" property of Microsoft Email Adapter.

        When I am giving the comma separated values, then the integration is getting errored out with the message as "addresses couldn't be resolved".

        Please let me know if there is a way by which we can read the values at run time and send out mail notifications to them during the run itself.

    • Kanchankumar Khedkar

      PFA for your reference.

      • Ishan Agarwal

        Thanks Khedkar for sharing the integration file but in this while opening the mapping it is asking for xsl file. Can you please share the xsl file too so that I can see how this thing needs to be achieved.

        • Kanchankumar Khedkar

          Hello Ishan, 

          If you unzip the iar file, it has xsl file. You can refer to the same. If you import integration and have jet based mapper enabled, you should be able to view the code directly on OIC itself.

          Regards,

          Kanchan

    • Kanchankumar Khedkar

      hi Ishan, 

      Have also provided updated @ https://cloudcustomerconnect.oracle.com/posts/013af82951 . This one uses raext:create-nodeset-from-delimited-string function. hope it will help.