Microsoft Developer Network > 포럼 홈 > SharePoint - Workflow > OnWorkflowItemChanged not receiving events.
질문하기질문하기
 

질문OnWorkflowItemChanged not receiving events.

  • 2008년 7월 21일 월요일 오후 12:33ONO-M 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    I've designed a simple WSS3.0 sequential WF (it happens the same with statemachine WF)
    for document review.

    When instantiated the WF writes a task containing a link to a custom form (that has been deployed through another feature), then a ListenActivity follows, waiting for the item to change by the mentioned form (i modify a property named Review).

    The correlation token for the OnWorkflowItemChanged activity is the same with the token for OnWorkflowActivated activity.

    When ran, i can see the task, i click the link and modify the Review property on the Item, but the event is never received. The delay on the other branch of the listen activity is big enough not to interfeere.

    What am i doing wrong here ?
    Thank you !

모든 응답

  • 2008년 7월 21일 월요일 오후 1:03ONO-M 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Some more info on this:
    It seems that if i change the property manually the workflow kicks off. But if i do it by the custom developed form it does not.

    I made sure the custom form changes the property - so what can it be ?


  • 2009년 1월 7일 수요일 오후 7:28DensonHamilton 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    check your workflow correlation tokens
  • 2009년 1월 7일 수요일 오후 7:29DensonHamilton 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I have heard that the OnWorkflowItemChanged must be in a loop
  • 2009년 6월 24일 수요일 오전 10:27rikhullar 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi,
    I am facing same issue. I have a WPF client. One more observation is It gets the vent first time after i reset iis server i.e sharepoint services.
    After that i stop getting any new onWorkflowItemChanged event. However its working perfectly if i do it with sharepoint web client.
  • 2009년 6월 24일 수요일 오전 11:41Serge Luca [MVP]MVP사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I've just recreated a workflow with an onWorkflowItemChanged activity; the event fired when I update the list item manually, but not when I use the Object Model; it is an old bug that must be reported to the Sharepoint team; I'm using sp 2.
    Serge Luca; blog: http://www.redwood.be
  • 2009년 6월 25일 목요일 오전 5:44rikhullar 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Is there any workaround to this??
    As this is like i can't have a UI for my SharePointWorkflow. I am also using Win2k3 with SP2.
  • 2009년 7월 2일 목요일 오전 9:32rikhullar 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    ANy update on this???
    I need to get this resolved so that i can move forward.
  • 2009년 7월 2일 목요일 오전 9:37Serge Luca [MVP]MVP사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    instead of using the Object Model, you may try to use the Web Services, according to this thread ("read this It works fine if I use the Lists web service to update the item...").

    Serge Luca
    Serge Luca; blog: http://www.redwood.be
  • 2009년 7월 2일 목요일 오전 9:50rikhullar 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hmm can try this, But in this case objects are recieved as XML nodes and will need parsing for the same.
    Need to do more effort for the same task, Well i guess there is no other way out.