<?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: Create Rule Based on Provisioning Action in Request, Using BRF+ in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674337#M129723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a certain reason that you are taking this design for the brf plus rule?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand your brf plus routing rule is to send line items based on the prov_action to different paths?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I think it can be done in a bit easier design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a BRF plus flat rule (line item by line item) you can have the "line item" structure in the context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the decision table have the PROV_ACTION field as an input. This field is available in the standard structure of request line item. Then based on the value 006 for assign and 009 for remove you can actually send back a different value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be able to achieve this with a decision table only and not need to perform a table operation, loop and rule set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it and let us know if it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 07:20:10 GMT</pubDate>
    <dc:creator>former_member204479</dc:creator>
    <dc:date>2014-10-22T07:20:10Z</dc:date>
    <item>
      <title>Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaq-p/10674333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Dear all.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;I am creating a routing rule:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Business scenario:&lt;/P&gt;&lt;OL style="font-size: 12px; list-style-position: initial; list-style-image: initial; color: #333333; background: #ffffff;"&gt;&lt;LI&gt;A requestor creates a request with one , two or more roles and sends to approve to various role owners.&lt;/LI&gt;&lt;LI&gt;The role owners indicates (in the Provisioning Action field) if they accept or not an scpecific role. Like showed in the screenshot below and then they push on Submit button&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567834/roles.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567871" height="106" width="640" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;I have created a Routing rule that checks the content of of the Provisioning Action&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If any of them is set as Remove then route the Request to a specific path 1&lt;/LI&gt;&lt;LI&gt;If all of them are set as Assign then route the Request to a specific path 2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;If i simulated my function with this input information i get the correct Result&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One of the provision action to Remove (action = 009)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567835/roleremoved.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567881" height="200" width="618" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567863/resultremoved.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567882" height="98" width="176" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;All the provision action to Assign (action = 006)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567865/roleapproved.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567883" height="207" width="627" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567869/roleassigned.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567884" height="135" width="214" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;But when i perform on a real situation i face an error and the log indicates me the following. Seems like my decision table is returning /ROLEREMOVED2&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/105-535816-567870/log.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/567885" height="268" width="640" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards and thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaq-p/10674333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-21T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674334#M129720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind sharing the screen captures for the decision table and the context section of the function in your BRF plus rule? It would give a clear picture of all the attributes. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674334#M129720</guid>
      <dc:creator>former_member204479</dc:creator>
      <dc:date>2014-10-21T16:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674335#M129721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many stages have you got in your initial path and secondly where and when is the routing rule being applied? As well as the decision table for your routing rule, maybe you could also provide some insight into how your workflow is set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to share some screenshots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 20:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674335#M129721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-21T20:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674336#M129722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sammukh, Harinam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your responses. Here you are some more screenshots:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;BRF+ - &lt;/STRONG&gt;Ruleset (I process the expressión ZCHECK_REJECTED)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568468" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;BRF+ - &lt;/STRONG&gt;&lt;/STRONG&gt;Table Operations &lt;STRONG&gt;ZCHECK_REJECTED &lt;/STRONG&gt;(Look for if there at least one Provisioning Action reject)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568517" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;BRF+ - &lt;/STRONG&gt;&lt;/STRONG&gt;Decision Table (If the boolean coming from the &lt;STRONG&gt;ZCHECK_REJECTED &lt;/STRONG&gt;is true then at least one role has been rejected)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568518" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The decision table returns always the Line Item + value ROLEREMOVED2 or ROLEASSIGNED. So the problem (as per the log check showed at the beginning of this thread) is i only declare the result ROLEREMOVED2 or ROLEASSIGNED2 (without the line item) so i try to remove the Line item from Decision table but it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;MSMP - &lt;/STRONG&gt;Rule results (i set the two results of the function)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568519" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;MSMP - &lt;/STRONG&gt;Maintains route mapping (depending of the result it goes to path Z_ROLEREMOVED or Z_ROLEASSIGNED)&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568520" width="450" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 06:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674336#M129722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T06:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674337#M129723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a certain reason that you are taking this design for the brf plus rule?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand your brf plus routing rule is to send line items based on the prov_action to different paths?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I think it can be done in a bit easier design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a BRF plus flat rule (line item by line item) you can have the "line item" structure in the context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the decision table have the PROV_ACTION field as an input. This field is available in the standard structure of request line item. Then based on the value 006 for assign and 009 for remove you can actually send back a different value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be able to achieve this with a decision table only and not need to perform a table operation, loop and rule set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it and let us know if it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 07:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674337#M129723</guid>
      <dc:creator>former_member204479</dc:creator>
      <dc:date>2014-10-22T07:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674338#M129724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hi Sammukh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;The design is as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;IF any of the PRO_ACTION is in Remove value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;THEN ALL the request should go to a specific path, not only the line item rejected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;And i followed the guide showed below with some changes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;A __default_attr="45753" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="AC10.0/10.1: Create Rule Based on Risk Violation in Request, Using BRF+ Procedure Calls" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Does it respond toy you design question?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;So thats why i create the table operation, just to check if any of the response is set to Remove.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards and thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Sara.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 08:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674338#M129724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T08:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674339#M129725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hi Sammukh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I have created the rule with the decision table you mention:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568655" height="43" width="553" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i have set the MSMP stage in both possible cases:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LineItem (in this scenario i am provifing two roles, one is Assigned and the other one is Removed)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568656" /&gt;&lt;/P&gt;&lt;P&gt;The behavior of this is part of the request goes to Path 1 and the other path of the request goes to Path 2. This isn't the behaviour required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stage Level &lt;STRONG&gt;(in this scenario i am provifing two roles, one is Assigned and the other one is Removed)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568657" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behaviour of this is a get an error due the system does not recognized the routing. See screenshot below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568658" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if i am able to fetch the error here and rereoute the request. Something similar to a Escape route in case i face this error. Can i create an alternative escape condition (auto provisioning failure or Approver not found)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674339#M129725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674340#M129726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I understand your design now. You want the entire request to move to paths based on the prov_action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this scenario your initial BRFplus rule seems to be correct. Also you mention that the simulation in brfplus works however the actual result does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the screen capture of the "Maintain route mapping"? the one you share above is too small to make out. Also from what I was able to see the 3rd (from path ID) and 4th (From stage) columns there were blank? Is it so? This being a routing rule you would need to maintain those two fields too. Apologies if I see it wrong, the screen font is too small in the attachment image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674340#M129726</guid>
      <dc:creator>former_member204479</dc:creator>
      <dc:date>2014-10-22T09:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674341#M129727</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;Having read through the thread so far, would I be correct in understanding that you basically want a &lt;STRONG&gt;Whole&lt;/STRONG&gt; request to go down a certain path if any of the line items have been set to "Remove"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a "initiator" rule in the past where items marked as "Remove" are sent to another path, with the "Add"/"Retain" items sent to another path. This was via a simple Decision table within a BRF+ Flat line rule. Obviously this is different from the requirement above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logically, I guess this would work like the SOD Violation detour rule i.e. If any of the line items cause a risk violation, you have the setting option to send the whole request to a detoured path or only the specific line item with the violation. In our case, we want the whole request to be detoured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that you have also tried to change the stage setting so that a whole request is rerouted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to the decision table you have shared above, can you add "Itemnum/Line Item Key" into the "Line Item" column for each row of your decision table? &lt;SPAN style="font-size: 10pt;"&gt;Also, try adding the column "Role_connector" and make each row entry "Is not Initial". Let us know if this makes any difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674341#M129727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T09:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674342#M129728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Sammukh.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No worries i can attach again the screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Maintain route mapping (Results: ROLEASSIGNED2, ROLEREMOVED2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568744" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have assigned the from path and from stage fields with no success. Let me also attach the log i am facing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568728" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put here my comments of the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;MSMP_RULE:095:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014; checking input parameters ...&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:101:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 - request header converted to type GRAC_S_REQUEST_RULE_HEADER&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:102:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 - line items converted to type GRAC_T_REQUEST_RULE_LINE&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:092:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 is being validated ...&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:093:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 was validated&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:094:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 is executing ...&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:096:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 executed&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:098:GRFNMW:Rule R/B/53C9AF29BA230520E1008000AC1C7014 returned results&lt;/LI&gt;&lt;LI&gt;MSMP_RULE:131:GRFNMW:Retrieved rule result: 0002/ROLEASSIGNED2&lt;/LI&gt;&lt;LI&gt;APPL_DEBUG:167:GRFNMW:Error reported while evaluating detour conditions. &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;IF I AM NOT WRONG THE SYSTEM COULD NOT MATCH THE RESULT 002/ROLEASSIGNED WITH THE VALUES AT MAINTAIN ROUTE MAPPING. THAT'S WHY Y TRY TO REMOVE LINE ITEM FROM DECISION TABLE.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;380:MSMP_ERROR:167:GRFNMW:Error reported while evaluating detour conditions&lt;/LI&gt;&lt;LI&gt;380:MSMP_ERROR:167:GRFNMW:Error reported while evaluating detour conditions&lt;/LI&gt;&lt;LI&gt;MSMP_DEBUG:547:GRFNMW:Rule SAP_GRAC_ACCESS_REQUEST/B/53C9AF29BA230520E1008000AC1C7014: No result retrieved for Line-Item '0001'&lt;/LI&gt;&lt;LI&gt;MSMP_DEBUG:136:GRFNMW:Error while evaluating routing rule; check MSMP log for more details&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other need just tell me. Regards and thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674342#M129728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T09:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674343#M129729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you confirm if this rule you created is a brfplus flat rule (line item by line item) ? Because it looks like in the log that MSMP is trying to get the result for line 0001 and 0002 separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your design you need only one result not line by line, so your routing rule should be a basic "BRFplus" application not the line by line one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674343#M129729</guid>
      <dc:creator>former_member204479</dc:creator>
      <dc:date>2014-10-22T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674344#M129730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is a BRFPLus Rule not a Flat rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568820" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the rule mapped with the stage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/568821" /&gt;&lt;/P&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674344#M129730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T10:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674345#M129731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try "Routing level" to be Request here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sammukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674345#M129731</guid>
      <dc:creator>former_member204479</dc:creator>
      <dc:date>2014-10-22T10:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674346#M129732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just tried and i get the same log error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mind i followed also the next guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="45433" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="How to create a MSMP BRF+ initiator rule using loop and table operation" href="https://community.sap.com/" modifiedtitle="true" title="How to create a MSMP BRF+ initiator rule using loop and table operation"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674346#M129732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T11:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rule Based on Provisioning Action in Request, Using BRF+</title>
      <link>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674347#M129733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved the problem &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At loop expression i put a &lt;STRONG&gt;Change values &lt;/STRONG&gt;instead of a &lt;STRONG&gt;Insert Values. &lt;/STRONG&gt;That was the reason why the result was never matching with the expected value.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/569453" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 06:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/create-rule-based-on-provisioning-action-in-request-using-brf/qaa-p/10674347#M129733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-23T06:41:16Z</dc:date>
    </item>
  </channel>
</rss>

