<?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>Question Re: Condition Action Block using from two different mapping values in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945322#M55066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want keep two validation in one condition action block, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select AND radio button (by default it will be on OR radio button) in conditions action block properties &lt;SPAN style="font-size: 10pt;"&gt;and add two validation conditions in Config link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, you can pass two or more inputs to condition action block; goto Config object and pass number of inputs (by default it will one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 06:29:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-23T06:29:43Z</dc:date>
    <item>
      <title>Condition Action Block using from two different mapping values</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaq-p/9945319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to generate Mail from PCO but with some terms and condition. I am saving notification in SQL data base with required entries. But I also need to generate E Mail against each new message. my condition is if a notification with a unique counter has already send an E mail, system will not repeat sending mail for specified tags for Email not for all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In main transaction, I have configured E mail sending and in this I have assigned child transaction for processing XML output message from PCO which update SQL server with data required.&lt;/P&gt;&lt;P&gt;After mail action block, I use SQL query to update digit "1" against same counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have child transaction out put tag Name&amp;nbsp; (string), and from this tag name, I fetch data for E mail ID either it belong to Email tag or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this condition true,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SQL query, to fetch data against tag by filtering parameters "TagName" and "Email" not equal to "1".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;system give me output,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here I am putting condition action block, if there is counter metting query, system give me blank, and my logic came false and I am not able to get respective result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kindly suggest me how to use either condition block, switch or any other one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Muhammad Ashfaq&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2013 16:26:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaq-p/9945319</guid>
      <dc:creator>mashfaq</dc:creator>
      <dc:date>2013-12-22T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Action Block using from two different mapping values</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945320#M55064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL table structure should be with table name COUNTER &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="49" style="width: 238px; height: 32px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Tag Name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Email ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Counter&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt; Tag001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;A class="jive-link-email-small" href="mailto:xxx@email.com"&gt;xxx@email.com&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;1&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Transaction should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Sequence: Tag query for fetching from Pco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Sequence: SQL query, which needs to fetch existing data from COUNTER table by passing above tag query details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3rd Sequence: keep condition action block, if above query scucces or rowcount more than 1, it should go through left path (i.e. Email action block). If not it skip (i.e. Right side path)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4th : Down to Email action block, add SQL insert Query action block which it needs to insert new records in COUNTER table with details (i.e. Tagname, EmailID &amp;amp; counter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 05:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945320#M55064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-23T05:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Action Block using from two different mapping values</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945321#M55065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Praveen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have already same structure, but at the time of transaction call my condition become false while it shows me true in workbench. My condition was this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetNotificationMailsent.Results{/Rowsets/Rowset/Row/email_status} == 2, 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;email_status having only two values, &lt;/P&gt;&lt;P&gt;1 = Mail has send&lt;/P&gt;&lt;P&gt;2 = Mail not send&lt;/P&gt;&lt;P&gt;In SQL output, emai_status == 2, but on execution it come false.&lt;/P&gt;&lt;P&gt;and I have replace it with this logic &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetNotificationMailsent.Results{/Rowsets/Rowset/Row/email_status} != 1, 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;system giving me my desire logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Muhammad Ashfaq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945321#M55065</guid>
      <dc:creator>mashfaq</dc:creator>
      <dc:date>2013-12-23T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Action Block using from two different mapping values</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945322#M55066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want keep two validation in one condition action block, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select AND radio button (by default it will be on OR radio button) in conditions action block properties &lt;SPAN style="font-size: 10pt;"&gt;and add two validation conditions in Config link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, you can pass two or more inputs to condition action block; goto Config object and pass number of inputs (by default it will one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/condition-action-block-using-from-two-different-mapping-values/qaa-p/9945322#M55066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-23T06:29:43Z</dc:date>
    </item>
  </channel>
</rss>

