質問

I have two SharePoint list - One is funnel and other is decision register. If certain condition is met in Funnel for that item, it will be moved to other list Decision Register.

I have following conditions to check in Funnel list -

  1. If Approval Status = CPO Approved and Decision Effective date is not blank then move to Decision Register list.
  2. If Approval Status = CPO Rejected then move to Decision Register List.

For first condition it is mandatory to have Decision effective date whereas for second when Rejected Decision Effective date is not applicable.

I tried with following code in SD 2013 but it is not working as desired. For first condition when date is empty and Approval Status is CPO approved, it is still moving to Decision Register.

Stage:Stage 1
Step: 1
    Set Variable: Decisiondate to Current Item:Decision Effective Date
    If Variable: Decisiondate is not empty value
    and Current Item:Approval Status equals CPO Approved
        Create item in M-Milestone Decision Register (Output to Variable: create3 )
        Delete item in Current Item
If Current Item:Approval Status equals CPO Rejected
    Create item in M-Milestone Decision Register (Output to Variable: create3 )
    Delete item in Current Item

Transition to stage Go to End of Workflow

enter image description here

役に立ちましたか?

解決

To check the date column is blank or not in designer workflow you need to use below conditions:

If Variable Decisiondate contains 1/1/0001

OR

If Variable Decisiondate less than 2/1/0001

Reference: SharePoint 2013 Workflow If Date Column is Blank

Update from Comments:

For your case, try using the condition as: If Variable Decisiondate greather than 1/1/0001

Note: Your variable data type should be set as Date and not string.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top