How to use ACS workflow in ADF?

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

How to use ACS workflow in ADF?

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.

 

7 Replies
Community Manager
Community Manager

Re: How to use ACS workflow in ADF?

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

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Member II

Re: How to use ACS workflow in ADF?

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.

Community Manager
Community Manager

Re: How to use ACS workflow in ADF?

Hi @cahyawirawan 

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,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Member II

Re: How to use ACS workflow in ADF?

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.

Senior Member

Re: How to use ACS workflow in ADF?

AFAIK ADF does not support workflows that are embedded in Alfresco Content Services.

Regards,
Abbas
Member II

Re: How to use ACS workflow in ADF?

Thanks Abbas for your info. Then, how do people access the workflow from ADF? Do people use the rest api directly?

Senior Member II

Re: How to use ACS workflow in ADF?

As of now, there is a no way to access ACS workflow from ADF.

 

Thanks & Regards,
Sanjay