Business Rules creating additional task record with no RITM attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 07:17 AM
Can someone please explain why my business rules are creating another SC_task record after I post the first comment on either RITM table or SC_task table???

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 08:50 AM - edited 04-11-2024 08:57 AM
With a before business rule you should never do an update(). You code should be as simple as
current.comment = current.work_notes as an example for the one running on the sc_req_item table. This way you do not need glide record. Doing an update() on a before business rule can cause all other business rules for that table to fire.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 09:29 AM
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 09:57 AM
When I remove the gr.update(). None of the comments sync.
Code for reference: