why gs.addinfomessage() not working when ui page redirects to form on click of UI button ?

Ankita Kolhe
Tera Contributor

Hi Community,

On clicking on UI button 'Resolve' on incident form opens an ui page and after  clicking on button 'Resolve Incident' present on ui page ,the ui page redirects to form again and save incident as resolved.

Having an after Business Rule with condition when incident is resolved(it's creating a new problem record and setting an info message) .This is working fine when user is manually updating the state as resolved and saves the  incident form.However ,problem is getting created when resolving incident through UI page but not displaying the infomessage on form.

Could anyone please help with this?

Thanks,

Ankita

2 REPLIES 2

Maharshi Chatte
Kilo Guru

Hi,

If you add the gs.addInfoMessage() message on the UI button also then It should work

If this answers your question please mark the answer as correct/helpful

Regards,

Maharshi

addinfomesaage() should present on business rule only not on UI Action .As UI action is navigating to an ui page and that UI page has button 'Resolve incident '.So on click of that button,ui page should redirect to form with state = resolved and should display message from BR that 'problem has been created '