<?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 Set ValidationStatus column value in calculation rule in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493919#M1490</link>
    <description>&lt;P&gt;I want to modify the validationstatus column to 0 when the Python program inserts/updates/deletes the record.&amp;nbsp; I tried to modify the&amp;nbsp;validationstatus column' value using the result and edit parameters of calculation attribute rules. However, validationstatus column is not editable using this way.&lt;/P&gt;&lt;P&gt;My main objective is to set&amp;nbsp;validationstatus&amp;nbsp; column's value to 0 when the record is inserted using Python program.&lt;/P&gt;&lt;P&gt;Could you please share other options to do it?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 18:14:46 GMT</pubDate>
    <dc:creator>mohanprajapati</dc:creator>
    <dc:date>2024-06-17T18:14:46Z</dc:date>
    <item>
      <title>Set ValidationStatus column value in calculation rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493919#M1490</link>
      <description>&lt;P&gt;I want to modify the validationstatus column to 0 when the Python program inserts/updates/deletes the record.&amp;nbsp; I tried to modify the&amp;nbsp;validationstatus column' value using the result and edit parameters of calculation attribute rules. However, validationstatus column is not editable using this way.&lt;/P&gt;&lt;P&gt;My main objective is to set&amp;nbsp;validationstatus&amp;nbsp; column's value to 0 when the record is inserted using Python program.&lt;/P&gt;&lt;P&gt;Could you please share other options to do it?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 18:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493919#M1490</guid>
      <dc:creator>mohanprajapati</dc:creator>
      <dc:date>2024-06-17T18:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set ValidationStatus column value in calculation rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493951#M1491</link>
      <description>&lt;P&gt;I do not think you can set that column to 0.&amp;nbsp; When a row is inserted, it will require calculation and validation.&amp;nbsp; To set that bit, you can use the the calculationRequired/validationRequired keyword.&amp;nbsp; I do not see an option to say calculation/validation not required.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm#ESRI_SECTION1_4DC091DA6F984FB1BB03722FA6B48FE3" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm#ESRI_SECTION1_4DC091DA6F984FB1BB03722FA6B48FE3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 19:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493951#M1491</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2024-06-17T19:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set ValidationStatus column value in calculation rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493983#M1492</link>
      <description>&lt;P&gt;Hi Mike!&lt;/P&gt;&lt;P&gt;I tried to&amp;nbsp;&lt;SPAN&gt;validationRequired. This table (TableName) has validation rule. It does not trigger the validation rule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# Validation Required&lt;BR /&gt;var feature_check = FeatureSetByName($datastore, "TableName",['GlobalID'], false);&lt;BR /&gt;var dict_cur_user = GetUser(feature_check);&lt;BR /&gt;var cur_user = Upper(Trim(dict_cur_user.username));&lt;BR /&gt;// we only need to update if user is USER1.&lt;BR /&gt;Console($feature.VALIDATIONSTATUS);&lt;BR /&gt;if (cur_user == 'USER1')&lt;BR /&gt;{&lt;BR /&gt;return {&lt;BR /&gt;'validationRequired': [{&lt;BR /&gt;'className': 'TableName',&lt;BR /&gt;'GlobalIDs': [$feature.GlobalID]&lt;BR /&gt;}]&lt;BR /&gt;} // close return&lt;BR /&gt;} // close main if&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 21:10:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1493983#M1492</guid>
      <dc:creator>mohanprajapati</dc:creator>
      <dc:date>2024-06-17T21:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set ValidationStatus column value in calculation rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1494312#M1494</link>
      <description>&lt;P&gt;This value is just a flag set on the row so that the batch validation process knows to validate it.&amp;nbsp; You have to manually trigger the batch process.&amp;nbsp; You can use the Error Inspector window in ArcGIS Pro or the Evaluate Rules GP tool.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 12:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1494312#M1494</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2024-06-18T12:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set ValidationStatus column value in calculation rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1494569#M1504</link>
      <description>&lt;P&gt;I use Arcpy to insert/update/delete records into the table feature.&amp;nbsp; So according to&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/evaluate-rules.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/evaluate-rules.htm&lt;/A&gt;&amp;nbsp;how can I use the extent parameter to pass only selected records and the version name? (It may take the current version I guess).&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 19:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/set-validationstatus-column-value-in-calculation/m-p/1494569#M1504</guid>
      <dc:creator>mohanprajapati</dc:creator>
      <dc:date>2024-06-18T19:18:30Z</dc:date>
    </item>
  </channel>
</rss>

