- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 10:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 10:42 PM
Data Policies are typically used to enforce data integrity by ensuring that data entered into a record meets certain conditions. However, Data Policies themselves do not directly support the inclusion of scripting (like JavaScript) in the same way that Business Rules or Client Scripts do.
Data Policies can be used in conjunction with UI Policies and Business Rules to implement additional logic, but if you need to run complex scripts as part of enforcing data conditions, you’ll need to use other mechanisms like UI Policies, Client Scripts, or Business Rules.
I hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.
thank you
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 10:43 PM
Hi @Gangadhar540- ,
Unfortunately this is not possible on Data policy.
What i can recommend here is , you can try to do using business rule on the table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 11:00 PM
Hi @Gangadhar540- It is not possible to write script in data policy
Data Policies enforce data consistency by setting mandatory and read-only field attributes. Unlike UI Policies, Data Policies execute server-side
if my answer helps you mark helpful and accept solution