Add reference on a record to himself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 03:34 AM
I need to set reference fields in some records so the will refer to themselves but this action is blocked by ServiceNow.
Is there a way I can overcome this and set a reference on a record to himself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 05:18 AM
Hi @Gal Katz ,
You can just create a reference field on the e.g. incident table which refer to the incident table again. Is that the solution that you're looking for?
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 05:50 AM
Hi Anders!
Thank you for your reply.
the issue is that I want to populate that reference field with the current record, but this action is blocked by ServiceNow because the selected reference loops back to the current record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 05:25 AM
Hi,
What is the usecase?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 05:57 AM
Hi Anurag,
Thank you for your response!
I'm inserting/updating accounts based on data I receive from a 3rd party application.
On the Account table I have account_parent field which is a reference to Accounts table.
If the account_parent sent to me from the 3rd party application is empty, I need to populate the account_parent field with the current record(make the account an account_parent of himself).
the issue is that is blocked by ServiceNow because the selected reference loops back to the current record.