水道配水用の新しいutility networkを展開しましたが、同じエラーが繰り返し発生しています。 <\/P>
<\/P>
新しいフィーチャの作成に失敗しました<\/P>
エラー: 操作を完了できません。Arcade式の評価に失敗しました <\/P>
[StructureJunction, ルール: ID_StrcutureJunction_508]<\/P>
どのフィーチャを作成しようとしても、ルール番号が異なるだけで同じメッセージが表示されます...<\/P>
[WaterDevice, ルール: ID_WaterDevice_1]<\/P>
[WaterDevice, ルール: ID_WaterDevice_7]<\/SPAN><\/P><\/P><\/P>インストール手順に従い、下記リンクのアセットパッケージからデータを読み込んでネットワークを展開した場合は、これらのエラーは発生しませんでした...<\/SPAN><\/P>Get started with the Water Distribution Utility Network ConfigurationGet Started | ArcGIS for Water<\/A> <\/SPAN><\/P><\/P>しかし、指示に従い、アセットパッケージのspacial referenceを変更し、サンプルデータを読み込まない場合は、上記のエラーが発生します。<\/SPAN><\/P><\/P>空のデータセットを使用する際に、プロセス中に何かが正しく設定されていないようです。<\/SPAN><\/P><\/P><\/P><\/BODY><\/HTML>
しかし、指示に従い、アセットパッケージのspacial referenceを変更し、サンプルデータを読み込まない場合は、上記のエラーが発生します。<\/SPAN><\/P><\/P>空のデータセットを使用する際に、プロセス中に何かが正しく設定されていないようです。<\/SPAN><\/P><\/P><\/P><\/BODY><\/HTML>
When you first apply the asset package it should also create all of database sequences, even if you don't load the data. I'd recommend you either run the database sequence tool ( Create Database Sequence—Data Management toolbox | ArcGIS Desktop ) and create the "WaterDevice_10_seq" that this expression is expecting. If that doesn't work you can always identify and disable any attribute rules that are making calls to database sequences using the disable attribute rules tool ( Disable Attribute Rules—Data Management toolbox | ArcGIS Desktop ). Hope that help!
OK....after much digging and zero documentation from ESRI I tracked it down to the "Attribute Rule" not being evaluated correctly and returning the error.
Here is the arcade code that was resulting in the error. Basically the "NetSequenceValue" is evaluating to an error as I tested the false condition works correctly.
if (IsEmpty($feature.assetid)) { return "m-" + Text(NextSequenceValue("WaterDevice_10_seq")) } else { return $feature.assetid }
So digging into the "Esri Utility Network Sample Data", i can't find how this "WaterDevice_10_seq" is set or configured, but it works in thier database as long as you "load the data" as part of the "Apply Asset Package" process.
This attribute rule is on all the features in the utility network and it seems like there really should be some documentation on how to make this work.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.