d David
on

 

Hello,

I modified SD0017 to prevent it from firing for one of our custom domains (MQ). However it continues to show up in the report. How do I turn off this check for a specific domain?

 

        <val:Regex ID="SD0017" Variable="%Domain%TEST" Test=".{0,40}" When="%Domain%DOMAIN != 'MQ'" Message="Invalid value for --TEST variable" Description="Identifies records that violate condition [LENGTH(Name of Measurement, Test or Examination) less than or equal to 40 characters]" Category="Format" Type="Warning"/>


Regards,

David

 

Forums: Troubleshooting and Problems

t Tim
on June 9, 2011

Hi David,

You likely figured out a solution by this point, but for the sake of completeness, your approach would likely have worked correctly if you had used just DOMAIN != 'MQ' in your When clause. This wouldn't have exactly disabled the rule (it would still execute), but since the DOMAIN variable would have always equaled MQ in the MQ dataset, the rule would never have failed.

The only way to have completely disabled the rule for that domain would have been to create a custom configuration that included an additional ItemGroupDef for your custom domain, along with imports for the rules you did still want to execute as per the configuration guide.

Regards,
Tim

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.