Hello
Has anyone tried to create (or has any idea how can it be done) an Angular component which can be used for starting processes and completing tasks for the Alfresco Community 6.x (embedded Actviti 5.22)?
To start a process, a REST call is made to: "share/proxy/alfresco/api/workflow/activiti%24process1/formprocessor" with the JSON body.
To complete a task, again a similar REST call is made :"share/proxy/alfresco/api/task/activiti%143/formprocessor" with the JSON body.
The question is, how should the Angular know how to display forms? There is no REST API for that. The "share/page/task-edit?taskId=activiti%143&referrer=workflows" shows full HTML code, so I would have to extract data from it.
The Activti form configuration for Alfresco Share is made in the share-config.xml, should something similar be created for the Angular? How is it done in the APS (I don't recall that you have to write such a big form configuration for every single task in the process)
Hi,
The short answer is: the integration between ADF and ACtiviti 5 (or 6) is possible only through directs calls on the REST API. In brief: it is a raw integration.
ADF supports Activiti version 7+, due to differences in the REST API between Activiti and APS (the Enterprise version of the BPM Engine).
I hope this will help you.
Hi @fcorti,
Unfortunately, that is what I expected to hear. So would you rather recommend to try to integrate this raw REST API or maybe it's better to install Activiti 7 and have it all done?
I don't have any data so migration is not a problem. I tried to install Activiti 7 but it is mainly focused on the cloud - I would prefer it to be installed on the local server, even without Docker. It would be also nice to be authorized with the standard Alfresco auth, instead of Kerberos. But there is no installation guide for that .
Hi,
My recommendation is to try first in a POC / test project.
Activiiti 7 is released also as a standalone engine (not necessarily as Kubernetes / microservice architecture). The bad news about this is that the documentation is poor (I know and agree, it is not ideal).
To use Alfresco Development Framework, you must meet the following requirements.
Activiiti 7 is released also as a standalone engine
how can we enable CORS for ECM?
Discussions, help and advice about the Alfresco Development Framework.
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.