Thank you Bhawana,

 

I have tried this, getting notification with no attachment.

 I have followed:

1.Created a notification.

2.In wf I have written a Runscript to trigger notification.

Run script code:

(function() {
var gr = new GlideRecord("kb_knowledge");
gr.addEncodedQuery("workflow_state=published^short_description=Testing documents");
gr.query();
if (gr.next()) {

}

 

Is this correct, please guide me.

 

Regards,

Saridha.L