08-17-2020 11:41 AM
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)
08-20-2020 05:58 AM
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.
08-20-2020 06:13 AM
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 .
08-22-2020 06:37 AM
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).
08-24-2020 02:22 PM
To use Alfresco Development Framework, you must meet the following requirements.
08-08-2024 10:21 AM
how can we enable CORS for ECM?
08-22-2024 08:50 AM
09-28-2022 05:23 AM
Activiiti 7 is released also as a standalone engine
Explore our Alfresco products with the links below. Use labels to filter content by product module.