I'm using a hosted windows workflow sequential workflow. When running the workflow, the child activities aren't activated.
- I tried setting breakpoints in the designer - they don't work
- Using a custom Tracking service to monitor execution of the workflow I see that the root workflow passes through these stages: Created (workflow event) Started (workflow e开发者_StackOverflow中文版vent) Executing (activity event of the workflow root) Closed (activity event of the workflow root) Completed (workflow event)
I also inspected the workflow object from the custom tracking service, and I saw that the root activity has an empty Activities collection
So although the workflow has child activities (they appear in the designer) - it appears that they "vanish" when I run the workflow.
Any ideas?
Ophir
I encountered the problem in a project that contained both the workflow and the host. I tried now separating them into different projects, and it appears to work.
精彩评论