I have a fairly simple Sql trigger set to run on a point feature class. The trigger, however, doesn't seem to execute when the point is initially inserted. Any subsequent edit of the feature will seem to work as expected.
The trigger is on the add delta table of the feature class. The screenshot below is a query of the add delta table showing the edit history of a feature (most recent last). The trigger should update the XCoordinate, YCoordinate, Longitude, and Latitude fields after insert. You can see that on the initial insert of the feature, those fields remain NULL. Any edits after initial insert (rows 2-4) show those fields getting updated.
Is there some reason the trigger isn't working on the initial insert of the feature? I am testing by editing through a web map in ArcGIS Enterprise (10.7.1).

Below are some details of my feature class, database, etc... and the trigger statement.
RDBMS: Sql Server 2014 Standard
Geodatabase Version: 10.7.1
Feature Class is Registered as Versioned
Feature Class is Archived
<SPAN class="keyword token">ALTER</SPAN> <SPAN class="keyword token">TRIGGER</SPAN> <SPAN class="punctuation token">[</SPAN>dbo<SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">[</SPAN>triggerName<SPAN class="punctuation token">]</SPAN>
<SPAN class="keyword token">ON</SPAN> <SPAN class="punctuation token">[</SPAN>dbo<SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">a999</SPAN><SPAN class="punctuation token">]</SPAN>
<SPAN class="keyword token">AFTER</SPAN> <SPAN class="keyword token">INSERT</SPAN>
<SPAN class="keyword token">AS</SPAN>
<SPAN class="keyword token">BEGIN</SPAN>
<SPAN class="comment token">-- SET NOCOUNT ON added to prevent extra result sets from</SPAN>
<SPAN class="comment token">-- interfering with SELECT statements.</SPAN>
<SPAN class="keyword token">SET</SPAN> NOCOUNT <SPAN class="keyword token">ON</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="comment token">-- ==================================================</SPAN>
<SPAN class="comment token">-- UPDATE COORDINATE FIELDS</SPAN>
<SPAN class="comment token">-- ==================================================</SPAN>
<SPAN class="comment token">-- update X coordinate field</SPAN>
<SPAN class="keyword token">update</SPAN> t
<SPAN class="keyword token">set</SPAN> t<SPAN class="punctuation token">.</SPAN>XCoordinate <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STX
<SPAN class="keyword token">from</SPAN>
EnterpriseDatabase<SPAN class="punctuation token">.</SPAN>DBO<SPAN class="number token">.a999</SPAN> <SPAN class="keyword token">as</SPAN> t
<SPAN class="keyword token">inner</SPAN> <SPAN class="keyword token">join</SPAN>
inserted <SPAN class="keyword token">as</SPAN> i <SPAN class="keyword token">on</SPAN> t<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">and</SPAN> t<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID
<SPAN class="comment token">-- update Y coordinate field</SPAN>
<SPAN class="keyword token">update</SPAN> t
<SPAN class="keyword token">set</SPAN> t<SPAN class="punctuation token">.</SPAN>YCoordinate <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STY
<SPAN class="keyword token">from</SPAN>
EnterpriseDatabase<SPAN class="punctuation token">.</SPAN>DBO<SPAN class="number token">.a999</SPAN> <SPAN class="keyword token">as</SPAN> t
<SPAN class="keyword token">inner</SPAN> <SPAN class="keyword token">join</SPAN>
inserted <SPAN class="keyword token">as</SPAN> i <SPAN class="keyword token">on</SPAN> t<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">and</SPAN> t<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID
<SPAN class="comment token">-- update Longitude field</SPAN>
<SPAN class="keyword token">update</SPAN> t
<SPAN class="keyword token">set</SPAN> t<SPAN class="punctuation token">.</SPAN>Longitude <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">select</SPAN> <SPAN class="number token">db1</SPAN><SPAN class="punctuation token">.</SPAN>dbo<SPAN class="punctuation token">.</SPAN>get_longitude<SPAN class="punctuation token">(</SPAN>i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STX<SPAN class="punctuation token">,</SPAN> i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STY<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">from</SPAN>
EnterpriseDatabase<SPAN class="punctuation token">.</SPAN>DBO<SPAN class="number token">.a999</SPAN> <SPAN class="keyword token">as</SPAN> t
<SPAN class="keyword token">inner</SPAN> <SPAN class="keyword token">join</SPAN>
inserted <SPAN class="keyword token">as</SPAN> i <SPAN class="keyword token">on</SPAN> t<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">and</SPAN> t<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID
<SPAN class="comment token">-- update Latitude field</SPAN>
<SPAN class="keyword token">update</SPAN> t
<SPAN class="keyword token">set</SPAN> t<SPAN class="punctuation token">.</SPAN>Latitude <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">select</SPAN> <SPAN class="number token">db1</SPAN><SPAN class="punctuation token">.</SPAN>dbo<SPAN class="punctuation token">.</SPAN>get_latitude<SPAN class="punctuation token">(</SPAN>i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STX<SPAN class="punctuation token">,</SPAN> i<SPAN class="punctuation token">.</SPAN>SHAPE<SPAN class="punctuation token">.</SPAN>STY<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">from</SPAN>
EnterpriseDatabase<SPAN class="punctuation token">.</SPAN>DBO<SPAN class="number token">.a999</SPAN> <SPAN class="keyword token">as</SPAN> t
<SPAN class="keyword token">inner</SPAN> <SPAN class="keyword token">join</SPAN>
inserted <SPAN class="keyword token">as</SPAN> i <SPAN class="keyword token">on</SPAN> t<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>OBJECTID <SPAN class="operator token">and</SPAN> t<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID <SPAN class="operator token">=</SPAN> i<SPAN class="punctuation token">.</SPAN>SDE_STATE_ID
<SPAN class="keyword token">END</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>