工作流程逾期电子邮件要求问题 - Dmitriy [英] Workflow Overdue email requirement question - Dmitriy
问题描述
大家好,
Hi guys,
我需要我创建的工作流程。我正在为我创建的相邻工作流的任务列表创建一个逾期的电子邮件工作流。
I have a requirement for a workflow I created. I'm creating an overdue email workflow for the tasks list of an adjacent workflow I created.
要求如下。  ;
The requirements are as follows.
电子邮件在截止日期后每48小时发送一次。如果可能的话,不要在周末和周五休假。如果在3次提醒后,该项目未标记为已关闭或已输入备注,则应将其转移给两位用户。
Email is sent every 48 hours after the due date. Skipping weekends and off Fridays if possible. If, after 3 reminders, the item is not marked closed or notes entered, it should kick over to two users.
问题1 - 如何使工作流计算多少封电子邮件它已发送,然后根据具体的计数发送电子邮件给其他用户??
Question 1 - How do I make the workflow count how many emails it has sent and then send an email to other users depending on a specific number of counts??
问题2 - 如何让它跳过周末?
Question 2 - How do I make it skip the weekend?
这是我到目前为止所做的,我只是不知道如何完成最后两部分...
This is what I have so far, I just don't know how to complete the last two parts...
阶段:逾期支票¥ b $ b 日志工作流程开始到工作流程历史记录列表
如果当前项目:截止日期小于今天
和当前项目:已分配给有效的SharePoint用户
和当前项目:任务状态不等于已完成
查找当前项目:截止日期和今天(输出到变量:DaysOverdue)之间的天数
电子邮件当前项目:已分配给
日志发送到工作流历史记录列表的逾期电子邮件
暂停0天,48小时,0分钟b
循环:1
此循环的内容将运行反复while:当前项目:任务状态不等于已完成
过渡到阶段
如果当前项目:任务状态不等于已完成
转到过期检查
其他
转到已完成
Stage:Overdue Check
Log Workflow Started to the workflow history list
If Current Item:Due Date is less than Today
and Current Item:Assigned To is a valid SharePoint user
and Current Item:Task Status not equals Completed
Find days between Current Item:Due Date and Today (Output to Variable: DaysOverdue )
Email Current Item:Assigned To
Log Overdue Email sent to the workflow history list
Pause for 0 days, 48 hours, 0 minutes
Loop: 1
The contents of this loop will run repeatedly while: Current Item:Task Status not equals Completed
Transition to stage
If Current Item:Task Status not equals Completed
Go to Overdue Check
Else
Go to Completed
推荐答案
对于问题1,您可以创建一个字段到任务列表,每次您发送了一封电子邮件,将该字段更新为+1,如果字段值等于3,则向其他人发送电子邮件。
对于问题2,您可以检查以下线程中共享的解决方案。
最诚挚的问候,
< span style ="color:#1F497D"> Lee
这篇关于工作流程逾期电子邮件要求问题 - Dmitriy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!