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)