তুলনা করুন / SharePoint ডিজাইনার কর্মপ্রবাহ মধ্যে ফাঁকা তারিখগুলি জন্য পরীক্ষা করুন

চিত্রনাট্য: একটি SharePoint ডিজাইনার কর্মপ্রবাহ ইন, you need to determine if a date field is blank.

সমস্যা: SPD does not provide a direct method for comparing dates to anything other than a date. You cannot create a condition like this: "If [জন্ম মাঠ] equals blank".

সমাধান: 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. এই দৃশ্যকল্প ইন, a field on an item, "Environmental Permits:First Permit Reminder Date", is submitted and the workflow fires in response.

ইমেজ

ইমেজ

নোট:

When I tried this, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (পরিবর্তনশীল:StringReminderDateDate) but it did allow it.

I was also concerned that allowing it, the value might be null and either blow up the WF at runtime or maybe raise the global temperature 1/2 a degree, but those concerns were unfounded.

</শেষ>

5 চিন্তা "তুলনা করুন / SharePoint ডিজাইনার কর্মপ্রবাহ মধ্যে ফাঁকা তারিখগুলি জন্য পরীক্ষা করুন

  1. Tim

    প্রশ্ন:
    1) When I tried the above, it’s not working because the value of a blank date seems to be "?????" (I believe this is a transposed NULL value). When I display the contents of the dynamic string, it shows up as "?????".

    2) জো – 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" in workflows? যদি তাই হয়,, can you explain how? I’ve had no luck trying, and I’ve only been able to extract values that exist in lists.

একটি উত্তর ত্যাগ Tim উত্তর বাতিল করুন

আপনার ইমেইল ঠিকানা প্রচার করা হবে না. প্রয়োজনীয় ক্ষেত্রগুলি চিহ্নিত করা আছে *