Hi,
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
http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/tasks
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.
HTH
Hi @EddieMay
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?
Thanks.
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 .
HTH,
I tried the Task component as follow:
<adf-task-details [taskId]="428">
<adf-no-task-details-template>
<ng-template>
<h1>Sorry, no tasks here</h1>
<img src="example.jpg">
</ng-template>
</adf-no-task-details-template>
</adf-task-details>
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.
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.