Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

How to Use REPLICATOR in StateMachine

  Date: May 30    Category: MOSS    Views: 596

I have created a StateMachine Workflow for sharepoint List, which has different
states for Task Created and Task Changed/Approved.
I wanted to Assign oneTask to Multiple Users and any one user from group can
approve and task moves to next level.
However the replicator only allows one method to be invoked with in <Create
Task>.

Can any one suggest solutions for the above problem statement?

Share: 

 

2 Answers Found

 
Answer #1    Answered On: May 30    

I may not understand...are you asking how to assign a task to a group?
If that is the case then assign your task to a SharePoint group. If
anyone from that group completes the task it is complete.

Did I misread something?

 
Answer #2    Answered On: May 30    


Yes i have tried using a SP group to assign task to, but the task does not get
assigned to any user(if Group mentioned) if many users exist thas is assigned to
last user in this list column.

I'm using SP User to resolve this users. if there is only ONE user the task get
assigned

below providing code sniplet.my code look's this :
assignees =
{
assignees.Add(workflowProperties.Web.SiteUsers.GetByID(
WFProperties.AssignedTo = assignees[assignees.Count -
1].ToString();newArrayList();string[] _User =
Instance.oStepApprover.ToString().Split(';', '#');// list where users or user
group definedfor(inti = 0; i <= _User.Length; i +=
4)int.Parse(_User[i])).LoginName);SPUserWFApprover =
GetUserFromPickerString(Instance.oStepApprover.ToString());}

 
Didn't find what you were looking for? Find more on How to Use REPLICATOR in StateMachine Or get search suggestion and latest updates.




Tagged: