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.

How to display the info message on task level but not on catalog form

Asish1
Tera Contributor

Hi,

We had a catalog form, after submission a RITM is created and catalog task, when we open the catalog task and selected a option in drop box a info message should be appeared..

so this info message should be visible in task level but not on catalog form

 

Thanks,

Asish

1 ACCEPTED SOLUTION

lukasz szumilas
Tera Guru

Hello,

in order to do that i would go into Catalog Task form right click -> Configure -> Client Script (to make sure we configure Client Script for this task form) just select  and create On Change Client Script.

Something like this:find_real_file.png

View solution in original post

8 REPLIES 8

Murthy Ch
Giga Sage

Hi @Asish 

Need more details:

Are you talking about which drop box?

Is that a catalog variable or task field?

If it is a catalog variable write catalog client script on catalog item which applies on catalog tasks only.

if it is a task field you need to make sure to run only for one specific catalog item.

 

Thanks,

Murthy

Thanks,
Murthy

Asish1
Tera Contributor

Hi @Murthy Chintalapudi 

Thanks for the reply!!

its working now

Thanks,

Asish

lukasz szumilas
Tera Guru

Hello,

in order to do that i would go into Catalog Task form right click -> Configure -> Client Script (to make sure we configure Client Script for this task form) just select  and create On Change Client Script.

Something like this:find_real_file.png

Hi @lukasz szumilas 

Thanks for the reply!!

It is working now.

 

Thanks,

Asish