Sharepoint工作流程错误

时间:2015-09-16 12:50:15

标签: sharepoint workflow

请帮我解决这个问题。我创建了一个工作流程,我在其中收到电子邮件以供审批但拒绝我没有收到电子邮件。请帮助我。

Step: Step 1
  Email Current Item:Approver name
  Wait for Approval Status to equal 0;#Approved
  If Current Item:Approval Status equals 0;#Approved
    If Current Item:System Name equals Adrenalin
      Email Asik Adam (External)
    Else if Current Item:Approval Status equals 1;#Rejected
      Email Asik Adam (External)
    Else if Current Item:System Name equals MS Dynamics AX
      Email Asik Adam (External)
    Else
    If Current Item:System Name equals Windows
      Email Asik Adam (External)
  Step: Step 2
    If Current Item:Approval Status equals 1;#Rejected
      Email Asik Adam (External)

1 个答案:

答案 0 :(得分:0)

如果你的缩进反映了真正的括号,那么除非当前项目:批准状态等于1,否则你已经检查了#Rejected条件,当你已经知道Status = Approved时。#/ p>

试试这个缩进:

Step: Step 1
Email Current Item:Approver name
Wait for Approval Status to equal 0;#Approved
If Current Item:Approval Status equals 0;#Approved
  If Current Item:System Name equals Adrenalin
    Email Asik Adam (External)
  Else if Current Item:System Name equals MS Dynamics AX
    Email Asik Adam (External)
  Else
    If Current Item:System Name equals Windows
      Email Asik Adam (External)
Else if Current Item:Approval Status equals 1;#Rejected
  Email Asik Adam (External)
Step: Step 2
 If Current Item:Approval Status equals 1;#Rejected
   Email Asik Adam (External)