ની સાથે સરખાવવું / શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો માં ખાલી તારીખો માટે ટેસ્ટ

દૃશ્ય લેખ: એક શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો ઈંચ, 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.

સ્ક્રીન શોટ:

The following screen shots show how to do this. આ દ્રશ્ય માં, આઇટમ પર એક ક્ષેત્ર, "Environmental Permits:First Permit Reminder Date", સબમિટ અને જવાબમાં વર્કફ્લો આગ છે.

છબી

છબી

નોંધો:

હું આ પ્રયાસ કર્યો ત્યારે, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (પરિવર્તનશીલ:StringReminderDateDate) પરંતુ તે માટે પરવાનગી આપે કર્યું.

હું પણ તે પરવાનગી આપે છે કે જે સંબંધિત હતી, મૂલ્ય નલ હોઇ શકે છે અને ક્યાં તો રનટાઈમે WF અપ તમાચો અથવા કદાચ વૈશ્વિક તાપમાનમાં વધારો થઈ શકે છે 1/2 ડિગ્રી, પરંતુ તે ચિંતા ખોટી હતી.

</અંત>

Technorati ટૅગ્સ:

5 પર "વિચારોની સાથે સરખાવવું / શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો માં ખાલી તારીખો માટે ટેસ્ટ

  1. ટિમ

    પ્રશ્નો:
    1) હું ઉપર પ્રયાસ કર્યો ત્યારે, it’s not working because the value of a blank date seems to be "?????" (હું આ એક transposed નલ કિંમત છે એમ માને છે). હું ગતિશીલ શબ્દમાળા સમાવિષ્ટો પ્રદર્શિત ત્યારે, 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" વર્કફ્લો માં? જો એમ હોય તો, તમે કેવી રીતે સમજાવવા કરી શકો છો? હું કોઈ નસીબ પ્રયાસ કરી હતી કર્યું, અને હું માત્ર યાદીમાં અસ્તિત્વ ધરાવે છે કિંમતો કાઢવા સક્ષમ કરી છે.

  2. જોસેફ
    શા માટે માત્ર શરત ચકાસતું નથી:
    ક્ષેત્રમાં આર કરતાં વધારે અથવા આજે બરાબર છે
    અથવા ક્ષેત્ર કરતા ઓછો અથવા આજે બરાબર છે
    This would give you an "if field is not blank, આવું, અન્ય (ક્ષેત) કે કરવું"
  3. કોઈ નામ
    મહાન મદદ. સંપૂર્ણપણે કામ કરે છે.
    હવે હું એ રીતે toset માટે વર્કફ્લો અંદર ખાલી કરવા માટે બિન-જરૂરી તારીખ શોધી રહ્યો છું. કોઈપણ વિચારો?

એક જવાબ છોડો ટિમ જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *