Something like this is what I wish to accomplish, however I'm unable to create objects such as SPWorkflow and SPWorkflowTask. As well, with my current Microsoft.Sharepoint.Client framework, SPListItem doesn't contain a Workflows array.
I'm able to modify the task list item, and update fields such as WorkflowOutcome, Completed, PercentComplete, and Status but this doesn't affect the workflow process.
How can I approve task items in code?
Platform - Sharepoint 2013 & Workflow Manager 1.0
.NET - C# WPF 4.0
Workflow - Sharepoint 2010
Thanks for help!