Question

Dans notre ferme, nous avons le numéro suivant: Créé un flux de travail avec quelques étapes simples.La première étape est une étape "Attribuer une variable", toutes les étapes suivantes sont dans une étape d'impersonnation. Ce flux de travail fonctionne environ 7-10 jours, après que tous les nouveaux flux de travail s'arrêtent après la première étape juste avant l'étape d'impersonnation.L'historique du flux de travail affiche: "Annulé" par "compte système" sans aucune information.Le journal ULS ne montre rien concernant les flux de travail (le niveau de journal est défini sur "HIGH", car il s'agit d'un environnement de production).

Des idées, ce qui pourrait causer l'arrêt du flux de travail après quelques jours dans l'étape d'impersonnation?

Était-ce utile?

La solution

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).

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top