- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 04:20 AM
Hello Everyone,
Can You Please Help me out with this,
I want to create a rule where a user can't update the Form if there are No records created/attached in a related list.
Or we can say if the related list is empty current record can't be updated.
Any anyone have an Idea how can I achieve this?
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 06:13 PM
Hi @pravershi you need to look for the field which stores parent sysid in your details table, to find records, Kindly accept or hit helpful if my response helped you.
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 05:07 AM
Hi @pravershi there could be multiple related list on a record which one are you looking for? Usually there will be a parent child relationship in related list table so you can check if parent is empty and you can abort the action using before update BR
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 06:46 AM
Hi @Harish KM ,
Thank you so much for the suggestion.
Can You Please Guide me through the script
As I was trying the same procedure but I guess am new to scripting.
below I attached my form SS, where we want until no item details record is added current(customer PO) can't be updated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 07:02 PM
Hi @pravershi that is a embedded list, not related list here you can write a after update BR on your table and need to glide details table to see if there is a record if no record present abort the submission
script:
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:58 PM
Hi @Harish KM ,
Thanks for the help but it's still not working, I will figure it out from here.
once again Thank you for your suggestions and time.
regards
Pravershi