Gitを利用した「リモート変更の適用」に関するエラーと更新セットでのリリースとの違いについて
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2025 08:12 PM
現在、Gitによるアプリケーション管理を用いてServiceNow開発を進めております。
そこで、ソースコントロールの「リモート変更の適用」機能と、更新セットによるリリースの動作上の違いについて、ご教示いただきたく投稿いたしました。
特に以下のようなケースについて疑問を持っております
・ローカルの変更との競合時の挙動(例:「Found a local update that is newer than this one」エラー)
・削除済みフィールドに対して変更が加わった場合(例:「Could not find a table field」エラー)
更新セットを用いたリリースでは、これらのエラーが発生することがある一方で、
「リモート変更の適用」では、スタッシュ機能によってローカル変更が一時退避されるため、接続認証以外のエラーは基本的に発生しないという認識を持っています。
つきましては、以下2点についてご確認・ご教示いただけますと幸いです
① 「リモート変更の適用」機能において、実際にエラーが発生した事例があれば共有いただけますか?
その際、どのような対応で解決されたかも併せて教えていただけると助かります。
※接続認証に関するエラーでも構いません。
② 上記の私の認識(リモート変更時に接続認証以外のエラーは発生しにくい、という点)は正しいでしょうか?
お手数をおかけしますが、どうぞよろしくお願いいたします。
- Labels:
-
Github
-
Release Updates
-
Source Control
-
Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 01:42 AM
Hi @hkriwk1,
Sorry for answering in English, I hope it will help you.
Regarding the errors:
- "Could not find a table field" error
- it seems to me that a table was created in DEV, then moved to TEST,
- later a new field was created in DEV and deleted, when moving this change to the TEST, it is updating a non-existing field, thus the field could not be found,
- this is just an example to give you some idea.
- "Found a local update that is newer than this one" error
- this happens if there are more changes in multiple update sets updating one and the very same record,
- so when you preview the complete update sets, the system informs you that there might be some other update to the same record and you should review it and decide what version to accept - local (what is captured in the target environment e.g. TEST) or remote (what is captured in the source environment - e.g. DEV).
Let me know if you have any other questions and if it helped you
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 06:58 PM
Thank you, @GlideFather
I believe I have a general understanding of the error itself.
What I would like to clarify now is whether a similar error can also occur when using "Apply remote changes" through Git.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 11:23 PM
@hkriwk1 ahaaa, I understand now, but unfortunately I have no experience myself so I cannot tell 😕
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */