Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need to show alert Message dynamically in UI builder page

AliK56876845342
Tera Contributor

Hi Folks,

 

we have a requirement where we wanted to show dynamic alert message in UI builder page based on the API call which is triggered. Good thing is that we have a staging table which we can use as a trigger to display these alert message. Below is the description of the field change in the staging table and the alert message which we want to see on the page:

1. When "Status Code" field is empty -> "Sync is Started" 

2. When "Status Code" field is 0 -> "Sync is Complete"

3. When "Status Code" field is 1 -> "Sync has failed"

 

Any help will be really appreciated.

 

Thanks,

Ali Khan 

@Kevin83 @Shamus Mulhall 

1 REPLY 1

SumanKumarM
Tera Contributor

Hello AliK,

Please refer below link for solution.

https://www.servicenow.com/community/next-experience-articles/ui-builder-alert-messages-on-custom-pa...

 

Please mark helpful and correct, if it helps you to kick start your work.

 

BR,

Suman.