Hi,
I still don't understand when deploying a workflow in Workflow Console:
deploy <workflowEngine> <definitionClassPath>.
How do we know the <definitionClassPath> of my current workflow?
Thank you.-
[bayu]
First you need to place the workflow definition file under an alfresco classpath folder. for example
you place it under folder ${TOMCAT_HOME}/shared/classes/com/kayne/alfresco/workflow,you can execute command
show file com/kayne/alfresco/workflow/
deploy activiti com/kayne/alfresco/workflow/kayne.bpmn.xml
Under ${TOMCAT_HOME}/shared/classes, I only found alfresco dir and alfresco-global.properties.
My workflow (.bpmn file) is resided under /opt/alfresco-community/tomcat/shared/webapps/alfresco/WEB-INF/classes/alfresco/module/my-workflow-repo/workflows
I can browse it by typing: show file alfresco/module/my-workflow-repo/workflows
And run deploy: deploy activiti alfresco/module/my-workflow-repo/workflows/myWorkflow.bpmn
Thanks a lot!
You should read this Creating Custom Advanced Workflows in Alfresco | ECMArchitect | Alfresco Developer Tutorials
There you will find how to deploy the workflow.
Hi, Yes I already read it. But deploying a definition through workflow console with deploy <workflowengine> <definitionClassPath> command is not mentioned on Jeff's blog.
Thanks!