How to remove info message from the change request form

RashiKul
Tera Contributor

Hi,

 

There are error and info message popping on the change.
We have a custom BR on sysapproval_approver table which is showing the error message 'Approval invalid - change implementation window expired' if someone tries to approve the CR after the implementation planned start date.
Also, there is the info message 'Approved change request: <change request number>' Which is coming up if a user is trying to approve the change using 'approve' context link button. This approve context link button is calling ApprovalUserFeedback script include.

 

So, both these messages are contradictory and I want to remove info message from the top. I also want to achieve it without modifying any OOTB component which is button or read-only script include

2 REPLIES 2

dss
Tera Contributor

Hi,

 

Any solution you found on this. please help, i am facing similar issue.

 

Thanks in advance

Rafael Batistot
Kilo Patron

Hi @RashiKul 

 

The fix is not to remove the OOTB message, but to prevent the approval flow from reaching the point where that message is added.


See the Allen answer’s, might help you

 

https://www.servicenow.com/community/developer-forum/need-to-understand-what-triggered-the-info-mess...

 

If this response was helpful, please mark it as Helpful and, if applicable, as Correct, this helps other users find accurate and useful information more easily.