cancel
Showing results for 
Search instead for 
Did you mean: 

activiti workflows

ggoutham
Champ in-the-making
Champ in-the-making
Hi all,
I want to know how to create a activiti workflow i have downloaded the activiti 5.11 plugin for eclipse but i am unable to get the idea to work with it and how to deploy the workflow created with extension .bpmnd.
i read the jeff potts workflow tutorial but that is for old versions of activiti and alfresco.

Kindly help me in this regard

Thanks in advance
24 REPLIES 24

mitpatoliya
Star Collaborator
Star Collaborator
Do you want to deploy it in Alfresco only?
If yes then I do not think there are much changes in the deployment methods.
what is the issue you are facing if you follow that tutorial?

ggoutham
Champ in-the-making
Champ in-the-making
Hi,
Thanks for your reply
First of all i want to know whether i need to deploy a .bar file or a .bpmn or .bpmn20.xml
And in my eclipse activiti project there is pom.xml file, whether i need to use that file for deployment and i am not seeing the "create deployment artifacts" option in my  eclipse.
Totally i am in confusion with all these files.
Please kindly help me.
 
Thanks in advance

mitpatoliya
Star Collaborator
Star Collaborator
POM.xml you need not to deploy.
Also I suggest you to go through this link to configure your eclipse to use Activiti workflow.
http://www.activiti.org/userguide/index.html

ggoutham
Champ in-the-making
Champ in-the-making
That's ok i have read the activiti userguide
and i have read this http://techblog.zabuchy.net/2012/creation-of-workflow-in-alfresco-using-activiti-step-by-step/ tutorial.
But when iam trying to deploy the workflow in that alfresco is not starting up.
Could you please tell me what are the files i need to deploy a workflow
As of my understanding i need to create a workflowModel file, workflow-context file spring configuration, and web-client-config-custom.xml.
But when iam adding all these files to extention folder alfresco not starting up

Please help in this regard

Thanks in advance
goutham

sandile
Champ in-the-making
Champ in-the-making
Hi

You can use the bootstrap method, export your bmpn20.xml file and put it under the extension folder(preferable create a workflow folder to place your workflows).
Then register your workflow in the context file and don't forget to configure the share-custom file.

ggoutham
Champ in-the-making
Champ in-the-making
Hi
Thanks for your reply
Whether i need to configure only share-custom file or both web-client-config(explorer) and share-custom file.
2. What about messages like .properties file.
If you dont mind can you provide any example that is used to configure workflow in both share and explorer,
so that i can understand clearly
Please help me,

Thanks in advance
Goutham

ggoutham
Champ in-the-making
Champ in-the-making
hi all
I have deployed a workflow using activiti explorer in alfresco enterprise and it excuting fine.
I have understood a little that the formkey of a usertask defines the types of the workflow model.
In my example i am not using any custom workflow model and i have not even registered with the spring context file. But its working fine

But this is enterprise version to deploy the same workflow in the community alfresco what i need to do?? can i just register the spring bean and deploy this workflow using workflow console.
But what about the  share and explorer ui configuration is it necessary to configure the workflow ui in both share and explorer clients

mitpatoliya
Star Collaborator
Star Collaborator
Also the processdefinition.xml file you need to deploy.

Only those 4 files are essential for workflow.

Also what is the error you are getting in the logs?

mitpatoliya
Star Collaborator
Star Collaborator
If it is working in the enterprise version you can deploy the same way in the community as well.
Also you need to configure UI related to the one which you are going to use (explorer or Share) not necessary to configure for both.
And as you said you are not using any custom task you will not require model as well as you will not require any property file of any of these UI related files as well because those tasks are already configured in alfresco.