Notifying user before scheduled un-publishing of document

Jon White asked on June 26, 2019 11:24

Hi,

Can anyone help me, I use Kentico for an intranet, we have the option when uploading a document/news page type to add a 'publish to' date.

Is it possible to notify the user who posted it when this 'publish to' date is approaching? say a month beforehand via email? This is just to ensure it is monitored and get them to check if it is still relevant or needs extending.

If anyone can help it'd be much appreciated, I'm not heavily technical, more front-end but I have another developer that could help if it's a complex solution.

Thank you, Jon

Recent Answers


David te Kloese answered on June 26, 2019 12:58

Hi,

Do you have an EMS license for this site?

You could use Advanced workflow and add an email step before the Archived step workflow designer. docs.kentico.com/k12/.../designing-advanced-workflows

If not you could create a custom Global Event Handler: docs.kentico.com/k12/custom-development/...Globalsystemevents-WorkflowEvents that fires before the archive step. This is Custom code and will only fire at the Archive itself.

If you really want to do it before archiving without Advanced workflow you could create a scheduled task that just loops through document (either all or specific types) and check if the published to date is within the next x days.

1 votesVote for this answer Mark as a Correct answer

Jon White answered on June 26, 2019 15:14 (last edited on June 26, 2019 15:56)

Hi David,

I don't have the EMS I'm afraid.

I guess I might look into the scheduled task element and see if that's viable. I'm not au fait with scheduled tasks so if you have any advice it's very appreciated

Thank you

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.