<?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: Validation Service with Attribute Rule kills ArcGIS Server in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161174#M383</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/485664"&gt;@Zoggo&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;would you mind sharing the following info?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The version of ArcGIS server? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How many total number of features in the class?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The registration&amp;nbsp;type of the class (unversioned/branch etc.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you monitor the ArcSOC as you execute the evaluate call and see how much it reaches before the SOC crashes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 15:14:24 GMT</pubDate>
    <dc:creator>HusseinNasser2</dc:creator>
    <dc:date>2022-04-05T15:14:24Z</dc:date>
    <item>
      <title>Validation Service with Attribute Rule kills ArcGIS Server</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161146#M382</link>
      <description>&lt;P&gt;We are using a Validation Service with a custom Attribute Rule for validation. If we run the validation in the&amp;nbsp; Attribute Inspector in ArcGIS Pro the memory of the ArcGIS Server rise to its limit and crashs the server. I can't see what I'm doing wrong. My validation rule looks as followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if (Geometry($feature).hasM){
 var paths = Geometry($feature).paths
 for (var i in paths){
  for (var j in paths[i]){
   if (j &amp;gt; 0){
    var segment = Length([paths[i][j-1],paths[i][j]]);
    var m = paths[i][j].m-paths[i][j-1].m
    if (Abs(segment-m)&amp;gt;0.001){
     return false
    }
   }
  }
 }
}
return true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We check for about 3000 $features.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161146#M382</guid>
      <dc:creator>Zoggo</dc:creator>
      <dc:date>2022-04-05T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Validation Service with Attribute Rule kills ArcGIS Server</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161174#M383</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/485664"&gt;@Zoggo&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;would you mind sharing the following info?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The version of ArcGIS server? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How many total number of features in the class?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The registration&amp;nbsp;type of the class (unversioned/branch etc.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you monitor the ArcSOC as you execute the evaluate call and see how much it reaches before the SOC crashes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 15:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161174#M383</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2022-04-05T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Validation Service with Attribute Rule kills ArcGIS Server</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161462#M384</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The version of ArcGIS server -&amp;gt; 10.9.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How many total number of features in the class -&amp;gt; 4278&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The registration&amp;nbsp;type of the class (unversioned/branch etc) -&amp;gt; branch versioned&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you monitor the ArcSOC as you execute the evaluate call and see how much it reaches before the SOC crashes- I will check this with our server administrator&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 05:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/validation-service-with-attribute-rule-kills/m-p/1161462#M384</guid>
      <dc:creator>Zoggo</dc:creator>
      <dc:date>2022-04-06T05:10:11Z</dc:date>
    </item>
  </channel>
</rss>

