Hey,
I developped a share module allowing users to design and configure a workflow diagram. The users generate then the xml files of the workflows. Now i want to hot deploying the workflow and run it in Alfresco share from my module without restarting Alfresco.
Is there a way to achieve this?
I looked for a solution, and i found that alfresco Java Api contains some class to manage the workflows definitions, but i don't know if i can resolve my issue with this.
My question is: Is there a way to hot deploying a workflow from my share module, by developping a java backed script?
If you have an example to how use Alfresco java api classes to hot deploy workflows, it'll be very helpful for me.
Regards.
N.M
Solved! Go to Solution.
Hi nabil malloul!
Alfresco Share can deploy workflows: you can read clearly about this in this article: Dynamic Models
I think, you will solve your problem if you'll write a script which:
I hope it will help!
Hi nabil malloul!
Alfresco Share can deploy workflows: you can read clearly about this in this article: Dynamic Models
I think, you will solve your problem if you'll write a script which:
I hope it will help!
Thank you for your reply.
It's exactly what i done. For the content model, i created webscript that copy the xml file in models and set its 'Model Active' property to true.
For the workflow hot deploying i used the Alfresco java api classes to hot deploy the workflow definition xml file.
Your solution resolve the issue i posted
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.