Last post Apr 06, 2009 01:45 PM by email@example.com
Mar 03, 2009 08:35 AM|galankar.tushar|LINK
Hi, I have created a sequential workflow in the VS 2008, Leave Approval Workflow.
In this Employee submits a leave application --> manager approves the leave application.
But I write a Console Application, which will automatically update the Employee leaves in the DB and add leave information ( Event ) in calender. Then only my work flow is completed, else it is 'Inprogress' state.
Now I want to access the workflow from Console Application. and update the DB and Set the workflow status to 'Completed'.
I get the workflow instance in the console application using following code //where item is the SPListItem on which workflow is associate SPWorkflow workflow = items.Workflows;
Can anyone tell me the way to solve this problem.
Apr 06, 2009 01:45 PMfirstname.lastname@example.org|LINK