Access user task list using alf_ticket

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 07:11 AM
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
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 08:56 AM
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://host
ort/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.
Also, you will have to pass the username as an argument to the web script.
Following is the url for the web script - http://host

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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2015 01:16 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2015 03:32 AM
Yes, that should work as well. Kindly try it and see its results.
Hope this helps.
Hope this helps.
