Hi Chamila, You can use SimpleQuery operatin in HumanTaskClientAPIAdmin service. Invoke this operation in the same way you used to claimable status with "COMPLETED" as the status. You can find a sample code in [1] line no 64.
[1] - https://github.com/wso2/carbon-business-process/blob/master/components/humantask/humantask-explorer-web/src/web/js/WSHTRequest.js#L64 Regards, Vinod Kavinda On Fri, Oct 2, 2015 at 11:44 AM, Chamila Wijayarathna <[email protected]> wrote: > Hi all, > > In IS dashboard gadget for approving/disapproving human tasks, currently > we are only showing tasks which are in the types "ASSIGNED_TO_ME" and > "CLAIMABLE". In the below jira (IDENTITY-3680), it is requested the tasks > completed by a particular user need to be shown in dashboard as well. Is > there a way we can get a list of human tasks completed by the logged in > user? > > @Prabath, Johann, Pulasthi, > Since the main idea of the dashboard gadget is to claim/approve/disapprove > tasks, should we show 'completed' tasks at dashboard? > > Thanks > > > > ---------- Forwarded message ---------- > From: Aparna Karunarathna (JIRA) <[email protected]> > Date: Tue, Sep 29, 2015 at 6:59 PM > Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not > getting listed > To: [email protected] > > > Aparna Karunarathna > <https://wso2.org/jira/secure/ViewProfile.jspa?name=aparna%40wso2.com> > created [image: Bug] IDENTITY-3680 > <https://wso2.org/jira/browse/IDENTITY-3680> > *Completed task are not getting listed* > <https://wso2.org/jira/browse/IDENTITY-3680> > *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha *Assignee:* > Pulasthi > Mahawithana > <https://wso2.org/jira/secure/ViewProfile.jspa?name=pulasthim%40wso2.com> > *Components:* workflows *Created:* 29/Sep/15 6:58 PM *Description:* > > Completed task are not getting listed > > Steps to reproduce > 1. Create a workflow to approve users and add some user > 2. Login to the dashboard and approve those users > 3. Completed tasks are not showing > *Environment:* > > Pack: Alpha > OS: Debian 8 > Java: jdk1.7.0_79 > Dep: Standalone > DB: Mysql 5.5.44 > Browser: Firefox 40.0/ Chrome 44.0 > *Project:* WSO2 Identity Server <https://wso2.org/jira/browse/IDENTITY> > *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna > <https://wso2.org/jira/secure/ViewProfile.jspa?name=aparna%40wso2.com> This > message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > > _______________________________________________ > Carbon-jira mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/carbon-jira > > > > > -- > *Chamila Dilshan Wijayarathna,* > Software Engineer > Mobile:(+94)788193620 > WSO2 Inc., http://wso2.com/ > -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* Mobile : +94 (0) 712 415544 Blog : http://soatechflicks.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
