Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

How to detect when a workflow task is complete?

$
0
0

Hi,

I am developing a simple custom State Machine workflow in VS2013 for SharePoint 2010.

My issue is that I am unsure how to detect when a task is complete.

I am able to create the task and call the onTaskChanged_Invoked method when the task is updated, but there does not seem to be any properties telling me if it is complete.

In my state I have an InitialState Activity which sets the state name, and then creates the Task List.

Then I have an eventDriven activity which has an OnTaskChanged Activity following by a while look. I do not know what to put in the while loop as a condition to detect if the task is complete.

I am new to workflows so please bear with me... Many thanks,

sivilian


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>