Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am developing a SharePoint sequence workflow. It is consisted of the main part and a sequence activity which I have implemented separately. I have used that sequence activity for one of the workflow nodes. This is the approach described by Scott Hiller.

Basically, my workflow reads a list item and based on that it creates a bunch of workflow tasks. Let's assume that my workflow creates 5 tasks. I need to make my workflow mark the rest of the tasks to Complete once the first 3 tasks are completed by the user. I do not know how to get to the rest of the tasks in the sequence activity, i.e. I do not know how to reference them. I tried creating a property in the sequence activity which would store the workflow item, but it generates an error (I believe only simple types, DateTime and strings are allowed).

share|improve this question
    
[I have never tried this], can't you save Task Id's in string with a separator like '|' –  Arsalan Adam Khatri Nov 26 '12 at 10:08
    
Yeah, that seems to be the only solution I was able to come up with as well. Feel free to post your comment as answer so that I can accept it. Thanks! –  Boris Nov 26 '12 at 21:36
    
There you go! :) –  Arsalan Adam Khatri Nov 27 '12 at 8:41
add comment

1 Answer

up vote 0 down vote accepted

Boris,

You can put all the task Id's in string with a separator like '|'

Retrieve again by splitting...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.