Execute single workflow from multiple workflow on a single document library

1 view
Skip to first unread message

Bhavesh Chaniyara

unread,
Mar 28, 2012, 2:40:54 PM3/28/12
to EZS Association
Hi,

I have a scenario. There is a document library and different agency upload document there. This document library contains 6 workflow and based on the certain key word combination, user decide which workflow to execute. At present user is activating the selected workflow manually. 
E.g
Document name is "TestAAdoc-w1.doc". Document name contains "AA" and "w1" so workflow-1 will be activated.
Document name is "TestBBdoc-w2.doc". Document name contains "BB" and "w2" so workflow-2 will be activated.

When the document gets uploaded, based on the agency uploading it, system should send email notification to corresponding agency's CRM. 

Client want to use out of box solution as much as possible and not the custom code based solution. Is there any one have similar work done? Please provide some suggestions or idea on it as i have to provide the ESTIMATE with the PROPOSED SOLUTION tomorrow to our CTO. (IT fun----without knowing actual solution, need to give estimate for the work....lol)

Thanks in advance,

Bhavesh

--
Bhavesh Chaniyara

P  
Please consider the environment and do not print this email unless absolutely necessary.

patel aniket

unread,
Mar 28, 2012, 8:47:41 PM3/28/12
to ezsolution_...@googlegroups.com
Why don't  you have a metadata attached to the documents. say if Person A upload a Document he needs to puts his company name as metadata  and based on that Company name the workflow initiated. 




Date: Wed, 28 Mar 2012 14:40:54 -0400
Subject: [EZS.association] Execute single workflow from multiple workflow on a single document library
From: bhavesh....@gmail.com
To: ezsolution_...@googlegroups.com

rama krishna

unread,
Mar 28, 2012, 8:53:03 PM3/28/12
to ezsolution_...@googlegroups.com

An event handler can be used to kickstart respective wf based on the required condition

rama krishna

unread,
Mar 28, 2012, 8:54:30 PM3/28/12
to ezsolution_...@googlegroups.com

My bad did not read whole email :)

Bhavesh Chaniyara

unread,
Mar 28, 2012, 9:09:11 PM3/28/12
to ezsolution_...@googlegroups.com
Friends,

Thanks for the quick reply with your ideas. I also have limited information of the scenario. I got a single page document describing current deployment and requirement so could not provide you all more details.

I am have couple of solutions in my mind, One as Ravi suggested, can move ahead with the event handler and within which we can decide which is the applicable workflow for the uploaded document and kick it.

One idea i have is to create 6 different document library where user will upload the corresponding type document and on item upload the workflow will be kicked off. 

Tomorrow i will be asking more details about the exact possible scenario to my boss and that will make it more and help to finalize which way to go.

Thanks again for your ideas.

Bhavesh

rama krishna

unread,
Mar 28, 2012, 9:23:42 PM3/28/12
to ezsolution_...@googlegroups.com
Bavesh instead of going with the naming convention, can the users use content types  and attach the workflows to the content types?

Ankit Shah

unread,
Mar 29, 2012, 3:44:40 PM3/29/12
to ezsolution_...@googlegroups.com, Bhavesh Chaniyara
Not sure if you are talking about 2007 or 2010 workflow,
 
My suggestion,
Let the workflows as it is (Manual).
Add another workflow (start automatic) which take the string from document name, break it using string functions available in workflow identify which workflow need to kick off and then start workflow from that particular workflow.
 
Let me know if it makes sense to you. 
 
 
Thanks,

Ankit Shah
+1(732)692 7816

From: Bhavesh Chaniyara <bhavesh....@gmail.com>
To: EZS Association <ezsolution_...@googlegroups.com>
Sent: Wednesday, March 28, 2012 2:40 PM
Subject: [EZS.association] Execute single workflow from multiple workflow on a single document library

Bhavesh Chaniyara

unread,
Mar 29, 2012, 6:50:04 PM3/29/12
to Ankit Shah, EZS Association
hi,

This make sense. Now we are planning to create 6 different document library and corresponding type of documents will gets uploaded there. Each library will have one workflow, so the issue is solved to identify the workflow.

For out of box Approval workflow, user have to enter DUE DATE field while starting it manually. We have a condition that after document upload, it has to be approved in 2 business days.In current system, when user start workflow manually, she calculate the due date by adding 2 working days in current date and enter it. If it falls on weekend then see enter next Monday's date. Any idea how i can go behind the seen and auto populate this field?

Thanks,

Bhavesh 

patel aniket

unread,
Mar 29, 2012, 11:23:10 PM3/29/12
to ezsolution_...@googlegroups.com

there are so many solutions based on calculated columns just search in google about calculated column with dates.

Date: Thu, 29 Mar 2012 18:50:04 -0400
Subject: Re: [EZS.association] Execute single workflow from multiple workflow on a single document library
From: bhavesh....@gmail.com
To: ankit...@yahoo.com
CC: ezsolution_...@googlegroups.com

Ronak Patel

unread,
Mar 30, 2012, 8:51:21 AM3/30/12
to ezsolution_...@googlegroups.com
You can write even handler to process your business logic and after that set field value

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages