Additional comment is updating twice using BR applied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2024 03:01 AM
I am stating the issue , I have applied a Business Rule which is going to trigger when state is on hold and on-hold sub categories changes , Comments (Additional comments) should update with the reason stated means selected through choice of on-hold sub-category field. but in additional comments its updating twice in activities. Provided snapshots for more clarification .
I have checked by deactivating this business rule or by commenting , comments line no 12 reference to above snapshot , Additional comment is not appearing in the activities . That means only this business rule is working to update the additional comments based on changes in On-hold subcategories , when state is on hold .
Please suggest solution on this .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2024 11:58 AM - edited ‎11-26-2024 11:59 AM
Hi @adityajha8 ,
In your script, try removing the gr.update (line 16) this might be the reason to trigger the comments twice. Pls check and let know if it works.
Regards,
Muhammad Arafath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2024 05:36 PM
You don't say what table your business rule is defined on, nor what record your viewing the Activities on. Provide that and maybe folks here can help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2024 06:09 PM
Hello @adityajha8
If it is a before BR and you are writing the BR on request item table, gr.update() wouldn't be needed..
If it's an after BR, try making it before BR and removing the gr. update
Please mark the answer as helpful and correct if helped.
Kind regards,
Ravi Chandra