How Module Access Policies Work for Script Type

shrikant Kahar1
Tera Contributor

Hello All,

 

shrikantKahar1_0-1743656081345.png

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

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@shrikant Kahar1 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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 

@shrikant Kahar1 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@shrikant Kahar1 

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader