10-30-2020 06:22 AM
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.
10-30-2020 06:56 AM
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
10-30-2020 07:13 AM
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.
10-30-2020 07:45 AM
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,
10-30-2020 08:40 AM
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.
11-02-2020 10:51 AM
AFAIK ADF does not support workflows that are embedded in Alfresco Content Services.
11-03-2020 12:28 PM
Thanks Abbas for your info. Then, how do people access the workflow from ADF? Do people use the rest api directly?
11-08-2020 10:48 PM
As of now, there is a no way to access ACS workflow from ADF.
01-08-2021 01:27 AM
Yes you might need to create custom services and add custom components too. do share with us
03-27-2022 11:04 AM
@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 !!
Explore our Alfresco products with the links below. Use labels to filter content by product module.