<?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: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680673#M88102</link>
    <description>&lt;P&gt;gotcha&lt;BR /&gt;&lt;BR /&gt;Maybe the doc should be extended by a sample showing the different means of multiple features within one "edit"-object and multiple "edit"-objects within the "edits"-array&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2026 08:45:13 GMT</pubDate>
    <dc:creator>SebastianKrings</dc:creator>
    <dc:date>2026-01-29T08:45:13Z</dc:date>
    <item>
      <title>applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679238#M88080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;BR /&gt;currently we are using the applyEdits function of the featureLayer.&lt;BR /&gt;Unfortunately we now face the following problem:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There is an object which may consists of multiple addresses.&lt;/LI&gt;&lt;LI&gt;only one address can be the main-address&lt;/LI&gt;&lt;LI&gt;main-address can be switched to another non-main-address&lt;/LI&gt;&lt;LI&gt;there is an attribute rule checking that there is at most one main-address&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When this is sent via applyEdits the execution order seems random or maybe by uid.&lt;BR /&gt;This leads to the not-yet-main-address to be given the main-address attribute first before the main-address attribute is revoked from the original mainAddress.&lt;/P&gt;&lt;P&gt;Means there are two main-addresses at once violating the attribute rule and thus aborting the transaction.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyEdits: FeatureService vs. FeatureLayer&lt;/STRONG&gt;&lt;BR /&gt;We are using&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;featureLayer.applyEdits()&lt;/LI-CODE&gt;&lt;P&gt;There are two different applyEdits APIs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FeatureService&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;FeautreLayer&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-layer/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Unfortunately they behave different.&lt;BR /&gt;The FeatureService offers this param:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FeatureServiceApplyEditsOptions.honorSequenceOfEdits&lt;/LI-CODE&gt;&lt;P&gt;Which is not available for:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FeatureLayerApplyEditsOptions&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally their edits JSON are built differently as far as I understood documentation.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Searching for Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround 1 (not suitable)&lt;/STRONG&gt;&lt;BR /&gt;I would not like to split this into two different transactions. In case one excepts the other cannot be invalidated any more.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question1&lt;/STRONG&gt;&lt;BR /&gt;Is there any way to allow sequence order for featureLayer.applyEdits too?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question2&lt;/STRONG&gt;&lt;BR /&gt;How do I use FeatureService applyEdits in Arc JS? The FeatureLayer to perform for + applyEdits JSON from FeatureLayer.applyEdits is given&lt;BR /&gt;Examples I found so far only describe the FeatureLayer applyEdits.&lt;/P&gt;&lt;P&gt;I found this sample:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-feature-service/applyEdits/" target="_blank"&gt;https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-feature-service/applyEdits/&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { applyEdits } from '@esri/arcgis-rest-feature-service';
//
applyEdits({
 url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer/0",
 adds: [{
   geometry: { x: -120, y: 45, spatialReference: { wkid: 4326 } },
   attributes: { status: "alive" }
 }],
 updates: [{
   attributes: { OBJECTID: 1004, status: "alive" }
 }],
 deletes: [862, 1548]
})
 .then(response)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there may another way for the AttributeRule to be postponed to the end of the transaction after all edits were done in place but right before the changes will be persisted.&lt;BR /&gt;&lt;BR /&gt;But the stated import does not work, erros are given, that it cannot be found.&lt;BR /&gt;I am using arcgisCore 4.34&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 11:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679238#M88080</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2026-01-22T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679406#M88082</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Question2&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;How do I use FeatureService applyEdits in Arc JS? The FeatureLayer to perform for + applyEdits JSON from FeatureLayer.applyEdits is given&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Examples I found so far only describe the FeatureLayer applyEdits.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/83360"&gt;@SebastianKrings&lt;/a&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Please read below for a code snippet showing how to leverage&amp;nbsp;&lt;EM&gt;FeatureService.applyEdits.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-featureService-FeatureService.html#applyEdits" target="_self"&gt;FeatureService.applyEdits doc&lt;/A&gt; does include a code snippet (It only shows how to add features to a single layer though).&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import Graphic from "esri/Graphic";
import FeatureService from "esri/rest/featureService/FeatureService";

const featureServerUrl = "https://myServer/server/rest/services/myService/FeatureServer";

const featureService = new FeatureService({
  url: featureServerUrl,
});

const pointGraphic = new Graphic({
  geometry: {
    type: "point",
    spatialReference: { wkid: 4326 },
    longitude: 0,
    latitude: 3,
  },
  // attributes: {},
});

const lineGraphic = new Graphic({
  geometry: {
    type: "polyline",
    spatialReference: { wkid: 4326 },
    paths: [
      [
        [0, 3],
        [2, 5],
      ],
    ],
  },
  // attributes: {},
});

const edits = [
  {
    id: 1,
    addFeatures: [lineGraphic],
    // updateFeatures: [],
    // deleteFeatures: []
  },
  {
    id: 0,
    addFeatures: [pointGraphic],
    // updateFeatures: [],
    // deleteFeatures: []
  },
];

const serviceEditsOptions = {
  // gdbVersion: "OWNER.VersionName",
  honorSequenceOfEdits: true,
};

if (!featureService.loaded) {
  await featureService.load();
}

featureService.applyEdits(edits, serviceEditsOptions).then((result) =&amp;gt; {
  console.log("featureService.applyEdits - result", result);
});&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Jan 2026 19:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679406#M88082</guid>
      <dc:creator>LeoMontero</dc:creator>
      <dc:date>2026-01-22T19:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679850#M88087</link>
      <description>&lt;P&gt;Thanks, I was able to call the featureService applyEdits.&lt;BR /&gt;Unfortunately the parameter honorSquence is not working as I expect.&lt;/P&gt;&lt;P&gt;FeatureA is being set as MainAddress.&lt;BR /&gt;I am changing this such that instead FeatureB is set as MainAddress.&lt;BR /&gt;The updateFeatures contains [A, B] (in this sequence) where MainAddress is set to 0 for A and set to 1 for B.&lt;BR /&gt;Unfortunately our AttributeRule is still violating saying that there must not be more than one Feature with MainAddress = 1.&lt;/P&gt;&lt;P&gt;This is how I am doing currently:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;async applyEditsFeatureServiceAsync(featureLayer: FeatureLayer, editParams: __esri.FeatureServiceApplyEditsEdits, optionParams?: __esri.FeatureServiceApplyEditsOptions): Promise&amp;lt;boolean&amp;gt; {
	let optionParams: __esri.FeatureServiceApplyEditsOptions = {
		globalIdUsed: false,
		honorSequenceOfEdits: true
	};
	
	editParams.id = featureLayer.layerId;

	const featureService = new FeatureService({
		url: featureLayer.url
	});

	if (!featureService.loaded) {
		await featureService.load();
	}

	const editResults = await featureService.applyEdits([editParams], optionParams);&lt;/LI-CODE&gt;&lt;P&gt;Am I getting the parameter&amp;nbsp;honorSequenceOfEdits wrong or would you agree that it should work?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 22:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679850#M88087</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2026-01-25T22:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679856#M88088</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;Would it be possible to post the REST request that is generated from the `featureService.applyEdits` call? (Using debug tools, fiddler, etc.). &amp;nbsp;That would let us see if the problem is occurring client or server side.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 00:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679856#M88088</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2026-01-26T00:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679886#M88089</link>
      <description>&lt;P&gt;here you are&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SebastianKrings_0-1769419395115.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147272i96040A338FF68258/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SebastianKrings_0-1769419395115.png" alt="SebastianKrings_0-1769419395115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;edits:&lt;BR /&gt;"object_address_type" is the object where the attributeRule checks on.&lt;BR /&gt;"Herweg 3" (the first of the three) is currently being the MainAddress with&amp;nbsp;"object_address_type" = 1.&lt;BR /&gt;During the edits you can see it is set to 0 and it is the very first in sequence before the second item is set as new MainAddress.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[{
        "id": 21,
        "adds": null,
        "updates": [{
                "attributes": {
                    "objectid": 71816,
                    "globalid": "{0539CB83-A63B-4ED2-9502-398A414DB666}",
                    "object_address_id": "{f0f1620d-b201-47ad-8295-9f1bb089e777}",
                    "from_address_id": "{54D1EBA5-8F37-4B19-94A5-E77DB2260C8A}",
                    "to_address_id": null,
                    "thoroughfare_id": null,
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}",
                    "created_user": "myuser",
                    "created_date": 1769081983000,
                    "last_edited_user": "myuser",
                    "last_edited_date": 1769081998000,
                    "relationLayerTitle": "Objekte Adressen",
                    "enhanced_from_address": "Herweg 3",
                    "enhancementLayerTitle": "AddressLayerTitle"
                }
            }, {
                "attributes": {
                    "objectid": 71416,
                    "globalid": "{528C37D9-A398-4EC2-9AB4-027754F456B3}",
                    "object_address_id": "{2776a7d1-5c60-41dd-9e3b-002d2c06a45e}",
                    "from_address_id": "{EFA5BBDE-CF8C-4C24-9120-706E2EC8958D}",
                    "to_address_id": null,
                    "thoroughfare_id": null,
                    "object_address_type": 1,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}",
                    "created_user": "myuser",
                    "created_date": 1768991993000,
                    "last_edited_user": "myuser",
                    "last_edited_date": 1769081998000,
                    "relationLayerTitle": "Objekte Adressen",
                    "enhanced_from_address": "An der Bundesstraße 1",
                    "enhancementLayerTitle": "AddressLayerTitle"
                }
            }, {
                "attributes": {
                    "objectid": 61818,
                    "globalid": "{F37ED8AD-3D2B-4B8A-BB93-9DAD47B512FC}",
                    "object_address_id": "{30B1EA83-C497-43AD-8EA2-D00DF7C83257}",
                    "from_address_id": "{25A3F94D-F02B-4F1B-A147-D8508D086D55}",
                    "to_address_id": null,
                    "thoroughfare_id": null,
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}",
                    "created_user": "Test",
                    "created_date": 1761214382000,
                    "last_edited_user": "myuser",
                    "last_edited_date": 1769081998000,
                    "relationLayerTitle": "Objekte Adressen",
                    "enhanced_from_address": "An der Bundesstraße 2",
                    "enhancementLayerTitle": "AddressLayerTitle"
                }
            }
        ],
        "deletes": null,
        "attachments": null
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the reponse referring to the attribute rule:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error": {
        "code": 400,
        "extendedCode": -2147207418,
        "message": "Unable to complete operation.",
        "details": [
            "Objekt fehlt.",
            "Interner Fehler während Objektaktualisierung. Attributbedingungsregel wurde verletzt. [\nRegelname: Hauptadresse prüfen,\nAuslösendes Ereignis: Aktualisieren,\nKlassenname: ObjectAddress,\nGlobalID: {528C37D9-A398-4EC2-9AB4-027754F456B3},\nFehlernummer: 23,\nFehlermeldung: Es darf nur eine Hauptadresse zu einem Objekt existieren.]",
            "Operation wurde zurückgesetzt."
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is the actual AttributeRule:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SebastianKrings_1-1769422493008.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147274iE1DFFC1670649874/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SebastianKrings_1-1769422493008.png" alt="SebastianKrings_1-1769422493008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetbyName($datastore, "my.domain.ObjectAddress");
var fk = $feature.object_id;
if (isEmpty(fk))
    {return true}
return count(Filter(fs, 'object_id = &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/225383"&gt;@fk&lt;/a&gt; and object_address_type = 1')) &amp;lt; 2&lt;/LI-CODE&gt;&lt;P&gt;We tried to check/uncheck the parameter "Exclude from application evaluation" but that did not make any difference.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 10:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679886#M88089</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2026-01-26T10:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679961#M88090</link>
      <description>&lt;P&gt;Thank you for the quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The REST request looks fine to me, and suggests maybe there is a problem on the server. I'm going to try to reproduce it on my end, and will get back to you here. If I cannot reproduce it, I'll probably need you to submit something to technical support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;("Exclude from application evaluation" controls whether or not Pro or Native Maps SDK applications will try to revaluate the rule on the client before sending it to the server. JavaScript never does this, so changing this setting has no impact on a JavaScript client)&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1679961#M88090</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2026-01-26T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680074#M88091</link>
      <description>&lt;P&gt;This is useful thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to reproduce and I do see what is going on. HonorSequenceOfEdits controls the outside layer edits payload, not the individual edits within a layer. As you may have noticed, the array of updates within a single edit are ordered by objectId and executed in ascending order (lowest objectid first). So in your example, objectid&amp;nbsp;61818 is updated first, followed by&amp;nbsp;71416 which is made into a main address, resulting in the failure, because&amp;nbsp;71816 was not updated yet.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;If you want to force the 3 updates to be in executed in the order, you will just need to change the payload from one edit with 3 updates to 3 edits each with a single update. They will still be in a single transaction, but 3 distinct edits to the same layer instead.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is your applyEdits (simplified) before and after the change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//one edit, 3 updates
[{
        "id": 21, 
        "updates": [{
                "attributes": {
                    "objectid": 71816,
                    "globalid": "{0539CB83-A63B-4ED2-9502-398A414DB666}",
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                }
            }, {
                "attributes": {
                    "objectid": 71416,
                    "globalid": "{528C37D9-A398-4EC2-9AB4-027754F456B3}",
                    "object_address_type": 1,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                }
            }, {
                "attributes": {
                    "objectid": 61818,
                    "globalid": "{F37ED8AD-3D2B-4B8A-BB93-9DAD47B512FC}",
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                
                }
            }
        ] 
    }
]
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//3 edits, one update in each. 
[{
        "id": 21, 
        "updates": [{
                "attributes": {
                    "objectid": 71816,
                    "globalid": "{0539CB83-A63B-4ED2-9502-398A414DB666}",
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                }
            } 
        ] 
    },
    {
        "id": 21, 
        "updates": [  {
                "attributes": {
                    "objectid": 71416,
                    "globalid": "{528C37D9-A398-4EC2-9AB4-027754F456B3}",
                    "object_address_type": 1,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                }
            } 
        ] 
    },
    {
        "id": 21, 
        "updates": [  {
                "attributes": {
                    "objectid": 61818,
                    "globalid": "{F37ED8AD-3D2B-4B8A-BB93-9DAD47B512FC}",
                    "object_address_type": 0,
                    "object_id": "{9BE6E41A-8558-4268-B6B3-FB96A755B98D}"
                
                }
            }
        ] 
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This payload should solve this issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my repro case before and after the applyEdits change&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HusseinNasser2_0-1769466445194.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147327i7F3C872A9B497716/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HusseinNasser2_0-1769466445194.png" alt="HusseinNasser2_0-1769466445194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after the change it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HusseinNasser2_4-1769466028943.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147325iC1B09C0E52E53805/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HusseinNasser2_4-1769466028943.png" alt="HusseinNasser2_4-1769466028943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 22:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680074#M88091</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2026-01-26T22:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680136#M88092</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/346994"&gt;@HusseinNasser2&lt;/a&gt;&amp;nbsp;that is super helpful and should solve the problem!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/83360"&gt;@SebastianKrings&lt;/a&gt;&amp;nbsp;, I checked with the developer who wrote `featureService.applyEdits` and we were able to confirm that if you pass three separate edits into the JavaScript routine, it should generate a REST call like Hussein specifies above.&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 00:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680136#M88092</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2026-01-27T00:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680471#M88100</link>
      <description>&lt;P&gt;Great that works.&lt;BR /&gt;&lt;BR /&gt;One more question:&lt;/P&gt;&lt;P&gt;When having these three edits instead of an single edit, will the three edits always be processed in this order or only when&amp;nbsp;&lt;SPAN&gt;HonorSequenceOfEdits&amp;nbsp;ist enabled?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 16:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680471#M88100</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2026-01-28T16:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680574#M88101</link>
      <description>&lt;P&gt;Correct, you need HonorSequenceOfEdits to be set to true to respect the array order in the applyEdits. Otherwise if that parameter is false or not provided, we will use the layerId order, which in your case it will be non-deterministic since all of them are same layer&lt;/P&gt;&lt;P&gt;more on the doc&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HusseinNasser2_0-1769631877290.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147495i2C7667B5C516A85C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HusseinNasser2_0-1769631877290.png" alt="HusseinNasser2_0-1769631877290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 20:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680574#M88101</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2026-01-28T20:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680673#M88102</link>
      <description>&lt;P&gt;gotcha&lt;BR /&gt;&lt;BR /&gt;Maybe the doc should be extended by a sample showing the different means of multiple features within one "edit"-object and multiple "edit"-objects within the "edits"-array&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 08:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680673#M88102</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2026-01-29T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680835#M88103</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/83360"&gt;@SebastianKrings&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;gotcha&lt;BR /&gt;&lt;BR /&gt;Maybe the doc should be extended by a sample showing the different means of multiple features within one "edit"-object and multiple "edit"-objects within the "edits"-array&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Agreed! Not sure if we'll have time to get it into the 5.0 docs, but we added it to our task list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--Rich&lt;BR /&gt;Maybe the doc should be extended by a sample showing the different means of multiple features within one "edit"-object and multiple "edit"-objects within the "edits"-array&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 17:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680835#M88103</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2026-01-29T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits in squence - FeatureService vs. Layer - AttributeRule at TransactionEnd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680990#M88105</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/83360"&gt;@SebastianKrings&lt;/a&gt;I agree. We will update the documentation to clearly explain the difference between updating multiple features within a single edit object and using multiple edit objects within the edits array. We will also clarify how honorSequenceOfEdits works and when it should be used.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 23:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-in-squence-featureservice-vs-layer/m-p/1680990#M88105</guid>
      <dc:creator>OsmanHalwani</dc:creator>
      <dc:date>2026-01-29T23:10:41Z</dc:date>
    </item>
  </channel>
</rss>

