cancel
Showing results for 
Search instead for 
Did you mean: 

Access user task list using alf_ticket

nancyaggarwal
Champ in-the-making
Champ in-the-making
Hi,

I have developed a web application which is integrated with Alfresco using CMIS. Now i want to have logged in user task list by passing alf-ticket or by only username as i don't have access to password.

So, Anyone please help me with this..how i can expose user tasklist using login ticket or by any other way?


Thanks in advance!
Nancy
3 REPLIES 3

romschn
Star Collaborator
Star Collaborator
One option is to use out-of-the-box webscript to load the workflow tasks assigned to the user. You can invoke the web script by providing the alf_ticket while executing it.
Also, you will have to pass the username as an argument to the web script.
Following is the url for the web script - http://hostSmiley Tongueort/alfresco/service/api/task-instances?authority=admin&alf_ticket=____
You can additionally add the properties argument in order to fetch the required values only in the response. You can take a look at the description document for this web script.

Hope this helps.

Thanks you so much Ramesh, It works!

But i want to know one thing, as i am loginin alfresco through SSO, can we access the same url without passing the login ticket?

Regards,
Nancy

romschn
Star Collaborator
Star Collaborator
Yes, that should work as well. Kindly try it and see its results.

Hope this helps.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.