How Module Access Policies Work for Script Type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 10:00 PM
Hello All,
As I'm using Field level encryption 1st time So, while creation of module access policies there is script type.
Could you please explain me how we can use business rule?
let's take TATA_IPL table and "tata_ipl.admin" role should have access from the module access policies.
How I can achieve this from Business Rule?
Thanks in Advance
Shrikant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 10:40 PM
Consider this as an example:
If you are accessing encrypted value or performing some manipulation on that encrypted field then that business rule when added to module access policy will be allowed to do the same.
If the business rule is not added in module access policy you cannot set/update the encrypted value.
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
04-02-2025 11:09 PM
Hello @Ankur Bawiskar ,
1. If the field is greyed out through encryption how we will do the manipulation of that encrypted field?
2. What should be the Business Rule trigger condition?
3. Does output of BR is Boolean?
Thanks in Advance
Shrikant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 11:29 PM
Consider that you want to update that encrypted field using business rule and business rule is running with some user who doesn't satisfy the encryption context then if you don't add that business rule in module access policy the update won't happen
When the business rule is added to module access policy system creates an exception and allows updating the encrypted field even if the user who performed the transaction doesn't satisfy the encryption context.
Responses inline
2. What should be the Business Rule trigger condition? -> this is as per customer's requirement and nothing to do with module access policy
3. Does output of BR is Boolean? -> this is as per customer's requirement and nothing to do with module access policy
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
04-03-2025 01:00 AM
Did my reply answer your question?
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