Le réseau pour les développeurs >
Forums - Accueil
>
SharePoint - Workflow
>
OnWorkflowItemChanged not receiving events.
OnWorkflowItemChanged not receiving events.
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 !
Toutes les réponses
- 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 ? - check your workflow correlation tokens
- I have heard that the OnWorkflowItemChanged must be in a loop
- 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.
- 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 - 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.
- ANy update on this???I need to get this resolved so that i can move forward.
- 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 - 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.

