08-07-2017 10:21 AM
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
08-28-2017 03:51 PM
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!
08-28-2017 03:51 PM
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!
08-29-2017 04:32 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.