Send email to Knowledge Author when article is rejected

Sandy7
Tera Expert

Hi All,

I am really hoping someone can help.. I am trying to send an email to the Knowledge article author when their article is rejected.

It should go to the author and contain the comments for why it was rejected.

I tried building the notification on the sysapproval table but can't dot walk "author" in the who to send to section because knowledge isn't extension of task table.... I can select author but it gets sent to no one..

Can someone please help? It seems like this should be pretty standard functionality to send an email to author when their article is rejected...

thanks all!

1 ACCEPTED SOLUTION

Thanks - I will mark correct when I (hopefully) get it to work!

Appreciate your feedback very much!

View solution in original post

12 REPLIES 12

palmen
Tera Guru

You could trigger it on knowledge table when the article goes from review to draft (this is what happens OOTB when rejected).

I can see two ways to get the comment:
1) Make a business rule to copy the comment into the knowledge article to some field (you could create an internal comment field or something)
2) Make a mail script that goes into the approval and gather the comment from there and print it in the email.

I would personally go for option 2 in this case since you don't need to modify anything, just make a mail script.

thanks. I have it set up that way but now am having a hard time pulling the comments in..maybe a mail script?

 

I edited my response above, mail script with a glide record to the approval is the way I would do it.
Look at any of the OOTB mail scripts if you need info about how to write it.

Thanks - I will mark correct when I (hopefully) get it to work!

Appreciate your feedback very much!