[Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Chamila Wijayarathna
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) 
Date: Tue, Sep 29, 2015 at 6:59 PM
Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
getting listed
To: carbon-j...@wso2.org


Aparna Karunarathna

created [image: Bug] IDENTITY-3680

*Completed task are not getting listed*

*Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
*Assignee:* Pulasthi
Mahawithana

*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 
*Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
 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
carbon-j...@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-jira




-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Vinod Kavinda
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 
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) 
> Date: Tue, Sep 29, 2015 at 6:59 PM
> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
> getting listed
> To: carbon-j...@wso2.org
>
>
> Aparna Karunarathna
> 
> created [image: Bug] IDENTITY-3680
> 
> *Completed task are not getting listed*
> 
> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha *Assignee:* 
> Pulasthi
> Mahawithana
> 
> *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 
> *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
>  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
> carbon-j...@wso2.org
> 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 .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
You can have multiple  elements in request.

eg:

COMPLETED
RESERVED
IN-PROGRESS

Thanks,
Hasitha.



On Fri, Oct 2, 2015 at 2:09 PM, Chamila Wijayarathna 
wrote:

> Hi Hasitha/Vinod,
>
> Thanks, by using
>
> http://schemas.xmlsoap.org/soap/envelope/;
> xmlns:ns="
> http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803;
> xmlns:ns1="
> http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803;>
>
>
>   
>  
> 
> COMPLETED
> 10
> 
> 0
> 
>
> ASSIGNED_TO_ME
>  
>   
>
> 
>
> as you have suggested, I could get the COMPLETED tasks of the logged in
> user.
>
> Is there a way to get COMPLETED, RESERVED and IN-PROGRESS tasks of
> ASSIGNED_TO_ME in one service call?
>
> Thanks
>
> On Fri, Oct 2, 2015 at 1:10 PM, Hasitha Aravinda  wrote:
>
>> Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in
>> SimpleQuery.
>>
>> Thanks,
>> Hasitha.
>>
>> On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda  wrote:
>>
>>> Hi Chamila,
>>> Sorry I made a mistake, You can't do this in the same way as Claimable.
>>> Use the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.
>>>
>>> Thank You
>>> Vinod
>>>
>>> On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda  wrote:
>>>
 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  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) 
> Date: Tue, Sep 29, 2015 at 6:59 PM
> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
> getting listed
> To: carbon-j...@wso2.org
>
>
> Aparna Karunarathna
> 
> created [image: Bug] IDENTITY-3680
> 
> *Completed task are not getting listed*
> 
> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
> *Assignee:* Pulasthi Mahawithana
> 
> *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
>  *Priority:* [image: Highest]
> Highest *Reporter:* Aparna Karunarathna
>  
> 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
> carbon-j...@wso2.org
> 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 .*
 Mobile : +94 (0) 712 415544
 Blog : http://soatechflicks.blogspot.com/


>>>
>>>
>>> --
>>> Vinod Kavinda
>>> Software Engineer
>>> *WSO2 Inc. - lean . enterprise . middleware 

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Chamila Wijayarathna
Hi Hasitha/Vinod,

Thanks, by using

http://schemas.xmlsoap.org/soap/envelope/;
xmlns:ns="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803;
xmlns:ns1="
http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803;>
   
   
  
 

COMPLETED
10

0


ASSIGNED_TO_ME
 
  
   


as you have suggested, I could get the COMPLETED tasks of the logged in
user.

Is there a way to get COMPLETED, RESERVED and IN-PROGRESS tasks of
ASSIGNED_TO_ME in one service call?

Thanks

On Fri, Oct 2, 2015 at 1:10 PM, Hasitha Aravinda  wrote:

> Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in
> SimpleQuery.
>
> Thanks,
> Hasitha.
>
> On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda  wrote:
>
>> Hi Chamila,
>> Sorry I made a mistake, You can't do this in the same way as Claimable.
>> Use the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.
>>
>> Thank You
>> Vinod
>>
>> On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda  wrote:
>>
>>> 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 
>>> 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) 
 Date: Tue, Sep 29, 2015 at 6:59 PM
 Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
 getting listed
 To: carbon-j...@wso2.org


 Aparna Karunarathna
 
 created [image: Bug] IDENTITY-3680
 
 *Completed task are not getting listed*
 
 *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
 *Assignee:* Pulasthi Mahawithana
 
 *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 
 *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
  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
 carbon-j...@wso2.org
 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 .*
>>> Mobile : +94 (0) 712 415544
>>> Blog : http://soatechflicks.blogspot.com/
>>>
>>>
>>
>>
>> --
>> Vinod Kavinda
>> Software Engineer
>> *WSO2 Inc. - lean . enterprise . middleware .*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Vinod Kavinda
Hi Chamila,
Sorry I made a mistake, You can't do this in the same way as Claimable. Use
the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.

Thank You
Vinod

On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda  wrote:

> 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 
> 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) 
>> Date: Tue, Sep 29, 2015 at 6:59 PM
>> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
>> getting listed
>> To: carbon-j...@wso2.org
>>
>>
>> Aparna Karunarathna
>> 
>> created [image: Bug] IDENTITY-3680
>> 
>> *Completed task are not getting listed*
>> 
>> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
>> *Assignee:* Pulasthi Mahawithana
>> 
>> *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 
>> *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
>>  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
>> carbon-j...@wso2.org
>> 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 .*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in
SimpleQuery.

Thanks,
Hasitha.

On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda  wrote:

> Hi Chamila,
> Sorry I made a mistake, You can't do this in the same way as Claimable.
> Use the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.
>
> Thank You
> Vinod
>
> On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda  wrote:
>
>> 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 
>> 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) 
>>> Date: Tue, Sep 29, 2015 at 6:59 PM
>>> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
>>> getting listed
>>> To: carbon-j...@wso2.org
>>>
>>>
>>> Aparna Karunarathna
>>> 
>>> created [image: Bug] IDENTITY-3680
>>> 
>>> *Completed task are not getting listed*
>>> 
>>> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
>>> *Assignee:* Pulasthi Mahawithana
>>> 
>>> *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 
>>> *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
>>>  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
>>> carbon-j...@wso2.org
>>> 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 .*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware .*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev