<?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 Re: Workflow triggered more than once in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647892#M288083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! The problem is that you set the StatusOT to "PRN", which is (by definition) the creation of a new PSP Element ==&amp;gt; hence the WF gets triggered, respectively the Event gets triggered, every time you create or change a network element.&lt;/P&gt;&lt;P&gt;The solution is to change the StatusOT to "PDN" so the event gets triggered only when a projectdefinition is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 06:53:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-15T06:53:46Z</dc:date>
    <item>
      <title>Workflow triggered more than once</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647890#M288081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Workflow gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have create a workflow to send an external email whenever a project is created(PS) from CJ20N/CJ06/CJ2D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have used the busines object BUS2001 and event CREATED is the triggering event of my workflow and activated it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In trans BSVZ create a new entry and set StatusOT  = PRN, Scheme = (specific to my company, using drop down to select options), BusinessOT  = BUS2001 and Event = CREATED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In trans SWETYPV create a new entry for BUS2001, CREATED, Receiver type WSxxxxxxxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My workflow gets triggered when a project definition is created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The real problem is whenever I add a network/activity and save the project using CJ20N again this event is getting triggered and hence results into multiple mails for the same project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the event triggering log SWEL where i find the same event is getting triggered twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please explain why this is happening and how can i ensure the event is triggered only once for a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 11:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647890#M288081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T11:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow triggered more than once</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647891#M288082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vijay,&lt;/P&gt;&lt;P&gt;if i am not wrong, use T-code to SWUD for your Workflow diagnosis,&lt;/P&gt;&lt;P&gt;there could be 2 tasks that triggers the workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647891#M288082</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2006-11-03T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow triggered more than once</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647892#M288083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! The problem is that you set the StatusOT to "PRN", which is (by definition) the creation of a new PSP Element ==&amp;gt; hence the WF gets triggered, respectively the Event gets triggered, every time you create or change a network element.&lt;/P&gt;&lt;P&gt;The solution is to change the StatusOT to "PDN" so the event gets triggered only when a projectdefinition is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 06:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-triggered-more-than-once/m-p/1647892#M288083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-15T06:53:46Z</dc:date>
    </item>
  </channel>
</rss>

