In State Machine Workflow Create Task Activity so you have to create a new co-relation token and set the owner activity of that CorrelationToken to your state rather then the workflow.
If your task is used in multiple states then you have to create a parent state and add both states in parent state and set the owner activity of CorrelationToken to parent state.
MVP Office Development, MCP, MCTS SharePoint 2010 Development