<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic send notification for workflow... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-notification-for-workflow/m-p/7129857#M1512274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workflow requirement where a custom report reads a flat file and then triggers the workflow which then&lt;/P&gt;&lt;P&gt;assigns the task to update the respective vendor master data to diff depts and once they r done an email is sent&lt;/P&gt;&lt;P&gt;to the approver who approves the changes to the vendor master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this workflow at the end has the 'send email' step where recipient type is set as "Organizational object"&lt;/P&gt;&lt;P&gt;and expression is &amp;amp;WF_INITIATOR&amp;amp;. The initiator is able to see an email received in the SAP inbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user now wants an additional email to be sent to his personal email id to notify that workflow email has landed&lt;/P&gt;&lt;P&gt;in his SAP inbox. Just a simple notification so that he goes to SAP inbox and checks the emails there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl note that this workflow is triggered from the custom report using the standard FM, SAP_WAPI_START_WORKFLOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to send the additional email, should I do something as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the call to SAP_WAPI_START_WORKFLOW, should I call the standard FM &lt;U&gt;NEW&lt;/U&gt;DOCUMENT_ATT_SEND_API1 and send &lt;/P&gt;&lt;P&gt;the email to the personal email id ?? Based on the user name I can read his personal profile and get the email &lt;/P&gt;&lt;P&gt;id from there, right ? Will this be the right option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case I want to do this as part of Workflow definition, is there any way I can find and include his personal email&lt;/P&gt;&lt;P&gt;id in the Send email step ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl advise on the right way to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 14:40:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-29T14:40:13Z</dc:date>
    <item>
      <title>send notification for workflow...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-notification-for-workflow/m-p/7129857#M1512274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workflow requirement where a custom report reads a flat file and then triggers the workflow which then&lt;/P&gt;&lt;P&gt;assigns the task to update the respective vendor master data to diff depts and once they r done an email is sent&lt;/P&gt;&lt;P&gt;to the approver who approves the changes to the vendor master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this workflow at the end has the 'send email' step where recipient type is set as "Organizational object"&lt;/P&gt;&lt;P&gt;and expression is &amp;amp;WF_INITIATOR&amp;amp;. The initiator is able to see an email received in the SAP inbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user now wants an additional email to be sent to his personal email id to notify that workflow email has landed&lt;/P&gt;&lt;P&gt;in his SAP inbox. Just a simple notification so that he goes to SAP inbox and checks the emails there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl note that this workflow is triggered from the custom report using the standard FM, SAP_WAPI_START_WORKFLOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to send the additional email, should I do something as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the call to SAP_WAPI_START_WORKFLOW, should I call the standard FM &lt;U&gt;NEW&lt;/U&gt;DOCUMENT_ATT_SEND_API1 and send &lt;/P&gt;&lt;P&gt;the email to the personal email id ?? Based on the user name I can read his personal profile and get the email &lt;/P&gt;&lt;P&gt;id from there, right ? Will this be the right option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case I want to do this as part of Workflow definition, is there any way I can find and include his personal email&lt;/P&gt;&lt;P&gt;id in the Send email step ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl advise on the right way to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 14:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-notification-for-workflow/m-p/7129857#M1512274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: send notification for workflow...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-notification-for-workflow/m-p/7129858#M1512275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cancelled..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 15:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-notification-for-workflow/m-p/7129858#M1512275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T15:01:05Z</dc:date>
    </item>
  </channel>
</rss>

