How to override Read-only script include function as the requirement is achieved by new UI Action.

Obito
Tera Expert

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.

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

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?

Obito_0-1729003028373.png

Above message i am getting. Not sure if i can active false or not.

 

If the Active box is not read only, it's fine to make it inactive.