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.

When knowledge article attached KB content coping to case worknotes . How can we stop that . We don't need the content .

skkkk
Giga Contributor

When knowledge article attached KB content coping to case worknotes . How can we stop that . We don't need the content .

1 ACCEPTED SOLUTION

skkkk
Giga Contributor

Thanks Vinitha ,



Temporary   I done the create new field and through UI policy dine it . Still notification is coming . Have to fix .



Once again thanks for you help .


View solution in original post

31 REPLIES 31

skkkk
Giga Contributor

In   my environment it's protection policy enabled . We aerated new xxxxx_cxs_Knowledge , and updated what you provided . still no luck .


Once we attached the knowledge to the case alert is appearing ( KB short description +have been added to the Customer Visible Notes(comments) (Customer visible) field) .


Comment this line out,


response.fields = gs.getProperty("glide.knowman.attach.fields", "").split(",");



Thanks,


Vinitha.K


skkkk
Giga Contributor

Vinitha ,


Where can I comment the above code?




On Mon, Mar 13, 2017 at 4:37 PM, vinitha <community-no-reply@servicenow.com>


In this place, Please put ctrl+F and find,




else {



response.article.content = s;



response.fields = "work_notes".split(",");



}


skkkk
Giga Contributor

if(article.u_publish_to_customer_portal==true){


//response.article.content = s;


//response.fields = "comments".split(",");


} else {


//response.article.content = s;


//response.fields = "work_notes".split(",");


}


}


} still same issue .



any another way is it possible to find from alert ?



where it configured ?




On Mon, Mar 13, 2017 at 5:13 PM, vinitha <community-no-reply@servicenow.com>