How to override Read-only script include function as the requirement is achieved by new UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 02:25 AM
Hi All,
There is one Business rule which is high-priority business rule and when the form state changes from open to validate it gets trigger - which calls one function from read-only script include (This function updates the related list of the form and add some related records.)
But now there is requirement change. We have achieve the same using UI action.(When we click on the ui action it updates related list) But now we want to override that function from business rule as we can not make business rule active false. and it is of no use now. How should I override that function and What should I return from that function so it will not show any error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 04:32 AM
You mentioned the Script Include that the Business Rule calls is read-only, but why can't you make the Business Rule active false, or change it so that it does not call this Script Include function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 07:37 AM
Above message i am getting. Not sure if i can active false or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 10:23 AM
If the Active box is not read only, it's fine to make it inactive.