One email per day

  • 13 February 2020
  • 2 replies
  • 23 views

Badge +1

Hi Community,

 

is there any option to define (limit) how many mails a workflow send to a single user per day?

 

Thx in advance

 

Best regards


2 replies

Good day MD249


 


Reminders can repeat themselves. For example, sending an email reminder every three days.


Can you please look at reminders in the following guide?


Add a Reminder to the Manager Approval Step: https://help.k2.com/onlinehelp/k2five/userguide/current/default.htm#Tutorials/Build/LeaveRequestExtended/07Escalation.htm.


 


You may also go for workflow schedulers –


Schedules: https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#K2-Management-Site/Workflow_Server/Schedules.htm,


Start a Workflow with a schedule: https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#K2-Workflow-Designer/Start/Schedule/Start-Schedule.htm.


 


Best,


Sunrise

Badge +7

Symptoms : Assume you have a task to send daily reminders about pending K2 tasks.

Diagnoses :- Essentially there are 2 tasks:

1) To pull K2 data about tasks - good task to be implemented within K2
2) Scheduled sending of email on a daily basis

Second task is not a good fit to be implemented within workflow, as it requires endless loop and consequently it is not a good fit for workflow engine when there more conventional task scheduling techniques.

Resolution: Right approach will be to create workflow which generates and send required email. Daily sending of such emails may be implemented with Windows Tasks Scheduler by means of running respective process via PowerShell.

Reply