I am new in Alfresco and its ADF. I would like to create small web application using ADF where I need to manipulate the workflow created in ACS. I can see that there is REST API for workflow like
So I expected that there must be an ADF component that I can use to list, get, update, etc the wrokflow in ACS, but I don't find such ADF components. Do I overlook something? or how do other people do it normally? Thanks a lot for any help.
Hi @cahyawirawan & welcome to Alfresco!
Have you had a chance to look at the documentation on the Alfresco Builder Network? Specifically the Process Instance List component, Task List Component, & many more.
Thanks for your prompt answer. I tried to use Task List component under Process Services API, but I think it requires an Alfresco Process Services, doesn't it? I want to do it without having APS. Is there any code example to do it?
I don't believe it requires APS (which is powered by Activiti) - here's a brief starter tutorial about Activit 7 & ADF. The release notes for ADF version 3.8.0 talk of better Actitivi 7 support after experimental support was included in ADF 3.0.
As for examples, these are perhaps a little outdated but might provide a starting point - ADF Examples & Creating Your Application with ADF .
I tried the Task component as follow:
<h1>Sorry, no tasks here</h1>
But it tried to go to this URL http://localhost:4200/activiti-app/, which is the URL for APS.
AFAIK ADF does not support workflows that are embedded in Alfresco Content Services.
Thanks Abbas for your info. Then, how do people access the workflow from ADF? Do people use the rest api directly?
As of now, there is a no way to access ACS workflow from ADF.
Yes you might need to create custom services and add custom components too. do share with us
@cahyawirawan @abbask01 a bit late, but did you find a way to call workflow frm ADF without using Activiti or APS.
I tried to develop a custom service using webscript to call the RESTfull API but apperantely it is no longer supported in ADF or ACA !!
Discussions, help and advice about the Alfresco Development Framework.