Cás: I sreabhadh oibre Dearthóir SharePoint, you need to determine if a date field is blank.
Fadhb: SPD does not provide a direct method for comparing dates to anything other than a date. You cannot create a condition like this: "If [DateField] equals blank".
Réiteach: Convert the date to a string. Use string comparison to determine if the date is blank.
Shots Scáileán:
The following screen shots show how to do this. Sa chás seo, réimse ar mhír, "Environmental Permits:First Permit Reminder Date", Tá isteach agus na tinte sreabhadh oibre mar fhreagra ar.
Nótaí:
Nuair a rinne mé é seo, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (Athróg:StringReminderDateDate) ach ní raibh sé deis a thabhairt dó.
Bhí mé freisin i gceist go ligeann sé, D'fhéadfadh an luach a bheith ar neamhní agus ceachtar buille an WF ag runtime suas nó b'fhéidir an teocht domhanda a ardú 1/2 céim, ach bhí na hábhair imní gan bhunús.
</deireadh>
Ceisteanna:
1) Nuair a rinne mé an méid sin thuas, it’s not working because the value of a blank date seems to be "?????" (Creidim go bhfuil an luach NULLComment thrasuí). Nuair a thaispeáint dom an t-ábhar ar an teaghrán dinimiciúil, it shows up as "?????".
2) Joe – when you wrote "If Field is greater than or equal to Today or Field is less than or equal to Today", do you mean that you can use variables like "Today" i sreabhadh oibre? Más amhlaidh, Is féidir leat a mhíniú conas? Tá mé go raibh aon ádh ag iarraidh, agus tá mé in ann ach a bhaint as luachanna atá ann i liostaí.