سؤال

في مزرعتنا لدينا المشكلة التالية: خلق سير عمل مع بضع خطوات سهلة.الخطوة الأولى هي خطوة "تعيين متغير"، جميع الخطوات التالية ضمن خطوة الانتحال. يعمل سير العمل هذا حوالي 7-10 أيام، بعد توقف جميع سير العمل الجدد بعد الخطوة الأولى فقط قبل خطوة الانتحال.يعرض تاريخ سير العمل: "ألغيت" عن طريق "حساب النظام" دون أي معلومات أخرى.لا يظهر سجل ULS أي شيء فيما يتعلق بعمل العمل (تم ضبط مستوى السجل على "عالية"، لأنها بيئة إنتاج).

أي أفكار، ما قد يتسبب في توقف سير العمل عن العمل بعد بضعة أيام داخل خطوة الانتحال؟

هل كانت مفيدة؟

المحلول

I think we found the issue. It is caused by the workflow itself, because the workflow fires on item change and on item create. The item is changed within the worklfow and causes a recursion. I found this article (which is for 2007) which describes it in detail. However, it is strange that it worked sometimes and sometimes not. Maybe a timing issue somewhere. We have now changed the workflow so that it won't happen again (hopefully).

نصائح أخرى

Sometimes it can be cancelled because of assigning null value to a string type variable.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top