setValue of a field is not working in async insert/update Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2022 08:36 PM
Hi All,
I am writing an async Insert/Update business rule to update a field value(Ex: TestA) on RITM based on RITM's Approval field value.
If Approval field value is either approved/rejected, then only I need to populate some value in 'TestA'
There are few RITM's with approver and few with no-approvers
Async Insert/Update
current.setValue('TestA', time);
(or)
current.TestA = time;
Both the above methods are not working in async BR, Please guide

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2022 10:01 PM
Hi Renu,
You will have to add "current.update()" if not already done as it's an async BR.
On a related note, why can't this be done via a before update BR as you are updating the same object ?
Thanks,
Arav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2022 12:08 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2022 07:58 AM
You may have to troubleshoot the related workflow (or FD) to identify the issue.
Please click "Show Workflow" link on RITM to see at which step the "Approval" field was set.
If workflow is not an issue, please check other BRs to see if this is field is getting changed.
Hope all of these suggestions have helped.
Thanks,
Arav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2022 10:09 PM
Hi,
Can you share your complete script here. It will be helpful for troubleshooting.
Thanks,
Sagar Pagar