<?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: How to push fields defined in the business rule expression to output or monitoring report. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-push-fields-defined-in-the-business-rule-expression-to/m-p/617624#M18658</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well the answer to your question is "Yes". However the expression cannot create fields in data monitoring, they have to exist before. Therefore the solution is to create a field "COMMENT" and to use it in your rule. When calling the task you will map it with an empty dummy field.&lt;/P&gt;
&lt;P&gt;Although, it is probably redundant to have this field as your rule will only trigger records that match your condition ... therefore all return rows will contain an&amp;nbsp;&lt;SPAN&gt;ADDRESSE IN ADDRESS LINE1 ... You can use the different attributes of the rule for storing this comment and reuse it in the output of Data Monitoring.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 22:50:45 GMT</pubDate>
    <dc:creator>VincentRejany</dc:creator>
    <dc:date>2020-01-15T22:50:45Z</dc:date>
    <item>
      <title>How to push fields defined in the business rule expression to output or monitoring report.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-push-fields-defined-in-the-business-rule-expression-to/m-p/617244#M18654</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a new business rule to identify certain patterns in the address line1 and set up task to run that business rule in Data Job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expression looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string COMMENT&lt;BR /&gt;if instr(`VALUE_CHECK`,'ATTN') != 0 or instr(`VALUE_CHECK`,'C/O') != 0 or instr(`VALUE_CHECK`,'%') != 0 then&lt;BR /&gt;begin&lt;BR /&gt;COMMENT='ADDRESSE FOUND IN ADDRESS LINE1'&lt;BR /&gt;return true&lt;BR /&gt;end&lt;BR /&gt;else&lt;BR /&gt;return false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run run task using Data Monitoring node in DataFlux data job, it doesn't allow me to send COMMENT field defined above to output or monitoring report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is it possible to push fields defined in expression section of business rule to output/monitoring report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Chetan&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 16:39:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-push-fields-defined-in-the-business-rule-expression-to/m-p/617244#M18654</guid>
      <dc:creator>Che</dc:creator>
      <dc:date>2020-01-14T16:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to push fields defined in the business rule expression to output or monitoring report.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-push-fields-defined-in-the-business-rule-expression-to/m-p/617624#M18658</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well the answer to your question is "Yes". However the expression cannot create fields in data monitoring, they have to exist before. Therefore the solution is to create a field "COMMENT" and to use it in your rule. When calling the task you will map it with an empty dummy field.&lt;/P&gt;
&lt;P&gt;Although, it is probably redundant to have this field as your rule will only trigger records that match your condition ... therefore all return rows will contain an&amp;nbsp;&lt;SPAN&gt;ADDRESSE IN ADDRESS LINE1 ... You can use the different attributes of the rule for storing this comment and reuse it in the output of Data Monitoring.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 22:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-push-fields-defined-in-the-business-rule-expression-to/m-p/617624#M18658</guid>
      <dc:creator>VincentRejany</dc:creator>
      <dc:date>2020-01-15T22:50:45Z</dc:date>
    </item>
  </channel>
</rss>

