Mazingira: Katika workflow SharePoint Designer, you need to determine if a date field is blank.
Tatizo: SPD does not provide a direct method for comparing dates to anything other than a date. You cannot create a condition like this: "If [Tarehe Shamba] equals blank".
Ufumbuzi: Convert the date to a string. Use string comparison to determine if the date is blank.
Screen shots:
The following screen shots show how to do this. In this scenario, shamba juu ya bidhaa, "Environmental Permits:First Permit Reminder Date", ni kuwasilishwa na moto workflow katika kukabiliana.
Maelezo:
Wakati mimi walijaribu hii, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (Kutofautiana:StringReminderDateDate) lakini haikuwa kuruhusu.
Mimi pia alikuwa na wasiwasi kwamba kuruhusu ni, thamani inaweza kuwa batili na ama kulipua WF katika Runtime au labda kuongeza joto duniani 1/2 shahada, lakini wale wasiwasi walikuwa unfounded.
</mwisho>
Maswali:
1) Nilipojaribu juu, it’s not working because the value of a blank date seems to be "?????" (Naamini hii ni transposed NULL thamani). Wakati mimi kuonyesha yaliyomo ya kamba nguvu, 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" katika workflows? Kama ni hivyo, unaweza kueleza jinsi? Nimekuwa alikuwa bahati hakuna kujaribu, na nimekuwa tu wameweza dondoo maadili ambayo zipo katika orodha.