The CreatorCon Call for Content is officially open! Get started here.

Show addInfoMessage in SOW

Karine_M
Tera Guru

Hi all,

 

In SOW when we have many alert to display (we use addInfoMessage). Alerts are grouped and hidden by default :

Karine_M_0-1752133026244.png

Is there a way to change the default value and pass it to show ?

Is there a way to configure the number of alerts to display before hiding them by default ?

 

Regards,

 

Karine

2 ACCEPTED SOLUTIONS

Shubham_Jain
Mega Sage
Mega Sage

@Karine_M 

 

As of now, there is no documented or supported way to:

  1. Change the default collapsed state to expanded.
  2. Configure the number of messages shown before collapsing.

Maybe you can use Declarative action. 

✔️ If this solves your issue, please mark it as Correct.


✔️ If you found it helpful, please mark it as Helpful.



Shubham Jain


View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Karine_M 

there is nothing I believe to control both (number of messages or for grouping)

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Shubham_Jain
Mega Sage
Mega Sage

@Karine_M 

 

As of now, there is no documented or supported way to:

  1. Change the default collapsed state to expanded.
  2. Configure the number of messages shown before collapsing.

Maybe you can use Declarative action. 

✔️ If this solves your issue, please mark it as Correct.


✔️ If you found it helpful, please mark it as Helpful.



Shubham Jain


Ankur Bawiskar
Tera Patron
Tera Patron

@Karine_M 

there is nothing I believe to control both (number of messages or for grouping)

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

sonaliaroka
Tera Contributor

Hi @Ankur Bawiskar ,  I am trying to add an addInfoMessage on page load in both the native view and the Service Operation Workspace. However, in SOW, the message gets added again on every reload.
Do you have any idea why that might be happening? It works fine in the native view.