4

I have this simple workflow which checks to see if a Request Date field is blank to determine whether it goes to LIST or INITIATE as shown below.

I can't figure out what I'm doing wrong.

  • A project is submitted

    • If it doesnt have a request date (is empty), it goes to 2. LIST

    • If it does have a request date in the request date field, it goes to 3. INITIATE.

Any help would be greatly appreciated!

enter image description here

1

2 Answers 2

7

I found that a blank date returns 1/1/0001 12:00:00 AM instead of blank. So I just check the date I'm interested in against the item create date. If it is less than I assume empty. For my list if currentitem:CompletionDate is less than currentitem:created then...

1
  • To elaborate, the comparison is If [Project Data: Request Date] is less than or equal to 1/1/0001 then Request Date is empty. (I use 1/1/1900.)
    – Erin L
    May 19, 2016 at 17:53
-1

It's a little convoluted, but from memory I think I could only achieve this by setting the 'dateToBeChecked' as variable of type 'String' which then allows you to perform a 'is empty' condition check.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.