문제

I have modified a SharePoint visual studio workflow which works as per requirement on the dev machine. I have to deploy it to an email enabled document library on sharepoint server and it is set to be started automatically when a new item is added to the library. When i deploy it to the server, and perform a manual upload to the doc library i.e. use the upload button to uplaod a document, it runs as expected. but when an email is received by the document library, a previous version of the workflow runs. this is really frustrating. I have removed all the previous versions of the workflow and now there is only one left. I have tried removing the workflow and adding it again but still the same behavior. I have removed temporary .net files from the windows folder but no luck.

If the new version is not installed properly, why is the manual upload working fine? can someone help? I want the same version of the workflow to run on the manual upload and email.

도움이 되었습니까?

해결책

You have to restart Windows Sharepoint Services Timer Service (OWSTIMER.EXE) as this service has probably cached your old DLL.

Because OWSTIMER.EXE is the service that wakes up your workflow after event has occurred.

다른 팁

나는이 일을 몇 번이었습니다. 나는 그것이 완벽하게 작동한다고 말해야합니다.

저자는이를 구현하는 방법을 매우 잘 자세히 설명합니다.

블로그의 본질은 다음과 같습니다.

  • ajax 확장자를 다운로드하여 설치
  • blog 와 같이 stsadm 명령을 실행하십시오.
  • <asp:ScriptManager /> + 삽입 + 블로그 에 표시된대로 MasterPage에 추가 JavaScript를 추가하십시오.
  • <asp:UpdatePanel /> 에 EasyTabWebPart가 포함 된 WebPartzone을 래핑합니다.

    그리고 그것은 꽤 많이 있습니다.그것은 완벽하게 작동합니다.
    updatePanel은 페이지의 일부만 업데이트되고 UpdatePanel에서 컨트롤 만 AsyncPostback을 트리거합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top