cancel
Showing results for 
Search instead for 
Did you mean: 

Access Activiti workflow console from Alfresco Community?

prof_1
Champ in-the-making
Champ in-the-making
Hi All,

I'm using Alfresco community 4.2.c. I tried to access the "Activiti workflow console". There is no "Workflow" in the Admin Console. It does not included in the community version?

And also I tried to access the "workflow-console.jsp" page, which I found it in the following address: Alfresco\tomcat\webapps\alfresco\jsp\admin\workflow-console.jsp. I got the following error:

javax.faces.FacesException: Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to *.jsf (with the <servlet-mapping>-element), you need to access your pages as 'sample.jsf'. If you tried to access 'sample.jsp', you'd get this error-message.

Thanks,

8 REPLIES 8

niketapatel
Star Contributor
Star Contributor
Yes, Activity Workflow Console is Enterprise Edition feature.
I am not sure but you can configure Activity Explorer war to alfresco.

I think, Alfresco is planning to have activity admin console in community version too. I read thin in one of the JIRA task or in one of the forum not sure

prof_1
Champ in-the-making
Champ in-the-making
So, no way to deploy Activiti workflow in Alfresco Community?

rjohnson
Star Contributor
Star Contributor
You can deploy workflows either by setting <redeploy> to true in the context thus


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
   
   <bean id="farthestgate.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
            <props>
               <prop key="engineId">activiti</prop>
               <prop key="location">alfresco/extension/workflows/serviceableContact.bpmn20.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">true</prop>
            </props>
         </list>
      </property>
      <property name="models">
         <list>
            <value>alfresco/extension/workflows/serviceableContactModel.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>
            <value>alfresco/extension/workflows/serviceableContactModel</value>
         </list>
      </property>
   </bean>
   
</beans>


This is dangerous because your workflow is redeployed on every re-boot; so its OK for development but not production when you should set it to false and use the console.

The Alfresco web workflow console is at

http://{your-alfresco}/alfresco/faces/jsp/admin/workflow-console.jsp

Less than a great interface but functional

cool123
Champ in-the-making
Champ in-the-making
http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp

type this in address bar, and deploy your BPMN in alfresco community version.
If this post is usefull, mark as usefull comment.

johnp2686
Champ in-the-making
Champ in-the-making
I have using alfreco community editon 5.1.X not open this link

http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp

its getting "HTTP Status 404 - /alfresco/faces/jsp/admin/workflow-console.jsp

Regards,
john

eddie
Champ in-the-making
Champ in-the-making
The old Faces-based interface has been removed. Try http://localhost:8080/alfresco/s/admin/admin-workflowconsole

johnp2686
Champ in-the-making
Champ in-the-making
Thanks

wkamdem
Champ in-the-making
Champ in-the-making
Hey, how can i use the link http://localhost:8080/alfresco/s/admin/admin-workflowconsole to deploy workflow in alfresco community. what kind of command can i use?


thanks!