moss - Why does my SharePoint workflow fail when the client is running Vista or Windows 7? -
i have similar situation this question.
i have custom sequential sharepoint workflow, deleoped in visual studio 2008. associated infopath form submitted form library. configured automatically start when item created.
it works sometimes. fails start.
just question linked above, checked in debugger, , issue infopath fields published columns in library empty when workflow fires. (i access fields workflowproperties.item["fieldname"]
.) there appears race condition, fields show in library view, , if terminate failed workflow , restart manually, it works fine!
after lot of head-scratching , testing, i've determined workflow start if user running version of ie on windows xp, fails if same user submits same form data vista or windows 7 client machine.
does have idea why happening?
this occurs due fact vista/7 saves infopath forms through webdav, xp uses protocol (sorry, can't remember @ time). sharepoint catches "itemadded" event before file uploaded (that is, item created, file upload in progress).
what can workaround add dealay activity , wait 10 seconds first thing in workflow (will longer ten seconds due way workflows built in spps). way upload have ended when perform read item. inform users what's happening, can add "logtohistorylist" activity before delay.
Comments
Post a Comment