- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 12:32 AM
Hello,
Can anyone please let me know the exact answer i searched in community and googled it but i didn't find it.
1.Will current can be used in after business rule?If no, what is the alternative.
2.Using query BR and ACL we can restrict data which way you would prefer?why?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:23 AM
1. Will current can be used in after business rule?If no, what is the alternative.
Answer: current can be used in both before and after business rules. If you are referring to current.update() then it is not needed in before business rule. In case if you want to you in after business rule then try and see if your logic can be put in before business rule else if it has to be put in after business rule then make sure to put current.setWorkflow(false); and then do a current.update();
2.Using query BR and ACL we can restrict data which way you would prefer?why?
Answer: BR and ACL both can restrict data, however it is always recommended to use an ACL as the instance has the capability to cache the ACLs, hence the ACLs are more performant than query business rule. Also, it is easier to debug the ACLs using the ACL debugger than a query business rule.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:23 AM
1. Will current can be used in after business rule?If no, what is the alternative.
Answer: current can be used in both before and after business rules. If you are referring to current.update() then it is not needed in before business rule. In case if you want to you in after business rule then try and see if your logic can be put in before business rule else if it has to be put in after business rule then make sure to put current.setWorkflow(false); and then do a current.update();
2.Using query BR and ACL we can restrict data which way you would prefer?why?
Answer: BR and ACL both can restrict data, however it is always recommended to use an ACL as the instance has the capability to cache the ACLs, hence the ACLs are more performant than query business rule. Also, it is easier to debug the ACLs using the ACL debugger than a query business rule.