Hi
here i will explain about workflows in share , it will work for enterprise and community editions also with 3.4 version.
Step1: we can start work flow in two ways
a) From actions along right side on an item row in the list of Document Library items
b) By Clicking on the "Start Workflow" action links on document details page
Step2: after click on "start workflow", you will get start work flow page with drop down on that page like as follows
Step3: For example select Adhoc (Assign task to colleague) from the drop down, then it will displays a form to enter parameters that defines work flow.
If we need to add new custom work flow follows these steps ( code from wiki page
http://wiki.alfresco.com/wiki/WorkflowSample_Lifecycle)
Step4: Go to
\shared\classes\alfresco\extension folder rename
lifecycle_processdefinition.xml.sample to lifecycle_processdefinition.xml
lifecycle-workflow-context.xml.sample to lifecycle-workflow-context.xml
lifecycleModel.xml.sample to lifecycleModel.xml
lifecycle-messages.properties.sample to lifecycle-messages.properties
if you are not able to find those files copy these code and place those files into
\shared\classes\alfresco\extension folder
Custom WorkFlow Code
Step5: type this url in browser
http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp
then enter
deploy alfresco/extension/lifecycle_processdefinition.xml
Click on submit.
Step5: Restart the server then follow above procedure you will get your custom work flow in start workflow drop down list as shown