|
|
||||||
|
#1
|
|
|
|
|
Hello,
I have a requirement to extend SharePoint's built-in approval workflow by appending just one extra feature: after the very last step, we want to copy the document to a second destination (i.e., another document library), whose URL should be configurable in the workflow settings page. All of the settings and functionality of the base approval workflow needs to be retained. I'm very new to SharePoint workflows, but I did spend the last few days reading articles, reviewing sample code, and watching tutorials. So far, nothing I've seen has demonstrated how to derive from one of SharePoint's default workflows, or if it's even possible. Would someone please be so kind as to advise me of how/where to begin to tackle this task? Thank you, -Sabrina |
|
|
|
#2
|
|
|
|
|
Hi Sabrina,
You can't modify the built-in approval workflow like that. First, even if you were able to modify the InfoPath form used to collect the workflow settings, you'd then need to modify the source code to act upon that new URL field that you added to the form. The source code for that workflow is, to my knowledge, unavailable. However, that doesn't mean you can't accomplish what you're trying to do. If what you meant by "the very last step" is that you want this new action to occur when the document has been approved, then what you could do is create another workflow in Visual Studio that would check the value of the approval status of the item whenever the item is edited and when the status is approved, it would copy the item/document to the other document library that was configured in the "workflow settings page". I think what you meant by that "workflow settings page" is the association form. You're going to need to create an association form for your workflow that will have a field where the user can enter the url to the document library where the items should be copied to. The form can be built as either an ASP.NET aspx page or as an InfoPath form. |
|
#3
|
|
|
|
|
Thanks, this is an acceptable solution! I'll give it a try.
"Bart Tubalinal" <bart.tubalinal> wrote in message news:5956 [..] |
|
#4
|
|
|
|
|
Hi Sabrina,
I have the same problem from last december but i could not find any solution , i also want the same default association from of built in approval workflow.i dont want to add more options . how can i get just this association form having code. please please help me if u can , thanx in advance Nadia Noor "Sabrina Veksler" wrote: [..] |
|
|
| Similar Threads | |
| InvokeWorkflowActivity for MOSS Approval Workflow I would like to launch the standard MOSS Approval Workflow from my custom workflow but cannot find a way to reference the Approval Workflow. All the documentation and... |
|
| Default WorkFlow Approval - Determine who approved a document Hello, I setup a library, and am using the default workflow approval process. However I cannot find where to see/report who approved each document. Can someone tell me if... |
|
| MOSS 2007, Adding a workflow: Unknown Error Greetings. When trying to add a workflow to ANY site on our MOSS 2007 box, I get prompted to enter the workflow details (name, specify task list, etc), but when clicking the... |
|
| Error adding approval workflow... I try to add standard approval workflow to my list - and I receive "Unknown Error" page. In log I found messages: Forms Services Runtime 8z3q Verbose Calling ... |
|
| Out-of-box Approval Workflow in MOSS 2007 As known there are two (serial and Parralel) approval workflows possible. In parralel approval workflow, it happens that if three users are approvers then in their task list... |
|
|
All times are GMT. The time now is 04:22 AM. | Privacy Policy
|