Hi,
I’m new on Sharepoint development, I need help to implement this customer requests.
I need to create a workflow that create a sequence of tasks when a document are uploaded in a document library.
The business process is quite complex and these tasks have to be assigned to different groups with different cut-offs.
I thought to use the SP designer 2010 to create the workflow or the workflows and a custom activity.
This custom activity will have a parameter with an activity code and should create a task based on data from a specific SPList that contains title, group and cutoff.
After the task creation wait for status changed to complete.
The user can take in charge the task (set a property) and set the status to completed.
Is it possibile?
Do you have suggestions, tutorials or code samples?
Thanks a lot for you help
Hi Karthik,
I didn’t do what’s explained in the link.
Finally I found a solution…
I create a custom activity with visual studio based on this post http://msdn.microsoft.com/en-us/library/hh128696(v=office.14).aspx
During the task creation I get data from a list to fill the task title, descrition, duedate etc.
Thank for you help
Have you done something similar to this?
http://www.codeproject.com/Tips/415107/Create-a-Workflow-using-SharePoint-Designer
When you mentioned “workflow did not run on the items created by other workflow”, did you happen to check the logs on the hive 14?
Hi,
I tried to follow your suggestions updating the task after creation inthe task list but it doesn’t work!
I created a workflow attached to the task list but I was not able to run the workflow on this items created with the other workflow.
Is it possible that for the task created by a “Assign to do item” action is unable to attach workflows?
Thanks
Â
Well.. When you would set up the workflow on a library, a task would be generated on each upload of a document to that library.
When I mean “set up” – I mean add a workflow to the library (using workflow settings -> add a workflow). This enables creation of tasks on each upload.
As in case of your example: When you would upload doc A, a corresponding task 1 is created in the task list, provided you have added your workflow to the (doc) library. This task 1 could pick data from any SPList and update the same or a different SPList using eventreceivers.
Is that something you were looking for? 🙂
What I try to do after trigger on upload of the documents is to create the tasks based on data in a list.
The list contains the definition of the tasks: ActivityCode, Description, Team, Cutoff etc.
For example after upload the document A, I would like to create the task 1 and then the task 2.
The task 1 and the task 2 has a definition in a list for the title (description), assignedto (team) and due date (cutoff)
Sorry for my bad explanations but I hope now it’s more understandable.
Thanks