If you have
not gone through Part-1 of this series, I would recommend you reading it first
and then continue reading here.
Now open the
SharePoint Designer, connect with your site and click on Reusable Workflow.
Select
document content type, here we can select the content type on which we would
like to attach the workflow to.
Now check the
condition, that if the current field is equals to department category and
compare that with Marketing then log to history that marketing was selected.
And I have
then put if else condition for each department.
Save the
workflow and then publish the workflow.
Now it’s time
to associate this workflow with the content type. Being on the same workflow settings
page, click on associate to content type option from ribbon.
When you
click on it, the browser window opens which allows you to associate. Select
start this workflow on item adding.
Once you
create a document using the template, and when you save it, you can see the
workflow has triggered and then completed by saving the right information in
the workflow history list.
3 comments:
Great artticle. I have a situation with a Resusable Workflow that is giving me a problem and I wonder if anyone has any suggestions. I have created such a workflow that works fine. I need to programatically enable it as a feature when I create new sites within my environment. I have a solution created by a developer and he is not able to find my workflow in the Project Model in order to enable it. He wants $$$ to research the solution and I'd rather do the research. ANy ideas?
Thanks.
there can be many reason. need to understand what solution you guys created. what is the scope of the feature you are looking for and other stuffs as well.
if possible please explain your scenario in detail.
I am trying to make a reusable workflow that can switch between 13 different content types ( Word templates ). is there a way to do this?
Post a Comment