શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો, ઇવેન્ટ રીસીવરો અને “સૂચિ આઇટમ અપડેટ” વિરુદ્ધ “ચાલુ આઇટમ માં ફીલ્ડ સેટ કરો”

We have a set of SharePoint designer workflows that "communicate" with an event receiver on the list via changes to site column values. ઉદાહરણ તરીકે, if a site column "SetDuedate" વર્કફ્લો દ્વારા સાચા પર સેટ છે, ઘટના રીસીવર કે ફેરફાર શોધે છે, એક નિયત તારીખ ગણતરી અને અન્ય સાઇટ સ્તંભ કે તારીખ સોંપે, "Due Date." We split things up like this because the event receiver can calculate a due date using complex business rules (ધ્યાનમાં શનિ અને કંપની રજાઓ લેવા) એસપીડી ખરેખર ન શકો તે દરમિયાન.

એક ચોક્કસ ઉદાહરણ ઈંચ, we ran into a problem with this trick. Debugging all this is pretty difficult, પરંતુ અમે ચોક્કસ તારણ પર આવ્યા હતા કે એક કેસ (ઓછામાં ઓછું), the event receiver was not running all the time. In one step of the workflow, we would change the value of a site column and the event receiver didn’t appear to run. તેમ છતાં, તે વર્કફ્લો અલગ પગલામાં સતત ચાલી રહ્યું હતું.

સમીક્ષા કર્યા પછી, I noticed that the happy workflow step used the "Update List Item" while the other step used "Set Field in Current Item." Update List Item was updating the "current item." I’m not sure why we picked one over the other since they would seem to be doing the same thing.

તેથી … the Update List Item action did cause the event to fire. પ્રશ્નની બીજી બાજુએ, ચાલુ આઇટમ ક્રિયા માં સેટ કરો ફીલ્ડ ન હતી.

હું બંને સ્થળોએ યાદી સુધારો વસ્તુ વપરાય છે અને જાંબુડિયું! It worked. [[ કોરે કુલ, હું લગભગ માટે દૈનિક ધોરણે માટે વાયોલિન ભજવી 15 વર્ષ ]]

આ પ્રતિ, I tentatively believe that the "Set Field" ક્રિયા ઘટના રીસીવરો આગ કારણ નથી, at least some of the time.

This issue bedeviled us for weeks.

This is one of those "observed behavior" posts. I observed this happen once in a specific environment and I’m making some guesses as to why things happened as they did. If you have any insight into this one, જો ટિપ્પણીઓ શેર કરો.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Technorati ટૅગ્સ:

3 પર "વિચારોશેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો, ઇવેન્ટ રીસીવરો અને “સૂચિ આઇટમ અપડેટ” વિરુદ્ધ “ચાલુ આઇટમ માં ફીલ્ડ સેટ કરો”

  1. કોઈ નામ
    મહત્તમ પીડી,
    સરસ બ્લોગ તમે ત્યાં મળી.. જો તમે એક ઝડપી પ્રશ્ન..
    યાદી સુધારો વસ્તુ જ શેરપોઈન્ટ સાઇટ પર કોઈપણ યાદી આઇટમ અપડેટ કરવા માટે હોઈ રહેવા આવે છે .. અધિકાર?
    મારા માટે, તે માત્ર એ જ યાદી માટે કામ કરે છે (માત્ર વર્તમાન વસ્તુ માં સુયોજિત ક્ષેત્ર જેવી).. તેથી હું એક અલગ સૂચિમાંથી કિંમતો સુધારવા માટે શું ઉપયોગ કરું?
    આભારદર્શક શબ્દો.
    Honeyhline ~

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

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