- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 04:26 AM
We have two business rules which sync watchlist field between case and related task records. The trigger condition is when the watchlist changes for both the business rules one is on case table and the other is on Task table. And in the logic of these business rules we update the watchlist of the related task record or the case record which in turn call the other business rule. This is causing a recursion between the two business rules.I wanted to check how we can remove this recursion. I also wanted to check if anyone has implemented a solution for syncing common fields between case and related task records which don't go in a recursion.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 05:12 AM
refer this link; it talks about syncing worknotes/comments and it handles how to avoid recursion.
add same logic in your BR
Script shared by Sravani
Sync'ing RITM and SCTASK work notes \ additional comments
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 05:12 AM
refer this link; it talks about syncing worknotes/comments and it handles how to avoid recursion.
add same logic in your BR
Script shared by Sravani
Sync'ing RITM and SCTASK work notes \ additional comments
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader