论坛的新手。我在特定日期启动工作流时遇到问题。当用户购买新设备时,我希望从我们的客户那里获得反馈。
条件/操作Ultrabook已部署到最终用户=是调查发送的电子邮件=标记以避免用户收到多个电子邮件,以防将来更新行。暂停到调查分发日期-这是一个计算字段,它采用部署日期并加上14天。格式为日期和时间更新当前条目中的项目将调查电子邮件发送列更新为是。
我似乎无法让调查在14天后发送,这样“调查分发日期”就等于当前日期。我觉得我错过了什么..。任何帮助都将不胜感激。
阶段:阶段1
If Current Item:Ultrabook deployed Y/N equals Yes
and Current Item:Survey Email Sent equals No
Pause until Current Item:Survey Distribution Date
If Current Item:Survey Distribution Date equals (ignoring time) Today
Email Current Item:Recipient
Update item in Current Item过渡到阶段转到工作流结束
Screenshot of Designer Workflow Code
发布于 2016-09-17 17:16:23
暂停,直到只考虑初始值‘当前项目:调查分配日期’。填写调配日期后,调查分发日期的值也将更新,但暂停直到不会使用此值。
您将使用某种循环功能。最好的方法是使用“Transition to stage”(因为它支持多个条件),如果所有条件都满足,就让它“循环回”到同一阶段的开头:
**Stage: WAITING**
Pause for 1 days, 0 hours, 0 minutes
Transition to Stage
If Current Item:Ultrabook deployed Y/N equals Yes
and Current Item:Survey Email Sent equals No
and Current Item:Survey Distribution Date is greater than Today
Go to SENDING THE EMAIL
Else
Go to WAITING
**Stage: SENDING THE EMAIL**
Email Current Item:Recipient
Transition to stage
Go to End of Workflow发布于 2016-09-20 10:45:05
对不起,我不知道如何将图片或代码放入评论栏中...非常令人困惑。
这是我正在使用的代码。这有意义吗?
Stage:Stage 1
Loop: 1
The contents of this loop will run repeatedly while: Current Item:Survey Distribution Date is less than 1901-01-13 12:00:00
Pause until Current Item:Survey Distribution Date
If Current Item:Survey Distribution Date equals (ignoring time) Today
and Current Item:Survey Email Sent equals No
and Current Item:Ultrabook deployed Y/N equals Yes
Email Current Item:Recipient
Update item in Current Item过渡到阶段转到工作流结束
https://stackoverflow.com/questions/39531643
复制相似问题