Solved

WF Task for each user

Posted on 2010-11-28
3
281 Views
Last Modified: 2012-05-10
Hi Experts!

Scenario:

WSS 3.0.
SharePoint Designer 2007.

I have a Task list named: Tasks.

Every day at 08:00 AM, I need to create a simple task for each user (50 users), the task have the same content for everyone, as the example below.

----------------------------------------------------------------------------------------------------------------------
Task: Send the billing data.
Description: Please enter the address: http://xyz.com/listxyz, and fill the data.
----------------------------------------------------------------------------------------------------------------------

I created a group permissions, but if I assign the task to a group it not will have 50 items, but 1 item for the whole group.

I need a way to automate this, probably a workflow.
This workflow must be started manually, and creates 1 task for each user that I inform.

I tryed do this in SharePoint Designer, but no success.


How can i do this?

Thanks!
0
Comment
Question by:br_ms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
SharePointGirl earned 500 total points
ID: 34228095
Create a list with your 50 users. Assign a workflow to create a task.

Create some code to kick off your workflow.

foreach (SPListItem itm in docLib.Items)
{
    //get the workflow associated with this doc lib and kick if off manually
    SPWorkflowAssociation wrkFl = docLib.WorkflowAssociations["Your workflow name"];
    site.WorkflowManager.StartWorkflow(itm, wrkFl, wrkFl.AssociationData, true);
}

Note workflow associationdata can't be null.

0
 
LVL 12

Expert Comment

by:Hairbrush
ID: 36160791
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question