You can have multiple <ns1:status> elements in request.

eg:

<ns1:status>COMPLETED</ns1:status>
<ns1:status>RESERVED</ns1:status>
<ns1:status>IN-PROGRESS</ns1:status>

Thanks,
Hasitha.



On Fri, Oct 2, 2015 at 2:09 PM, Chamila Wijayarathna <cham...@wso2.com>
wrote:

> Hi Hasitha/Vinod,
>
> Thanks, by using
>
> <soapenv:Envelope xmlns:soapenv="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";>
>    <soapenv:Header/>
>    <soapenv:Body>
>       <ns:simpleQuery>
>          <ns:simpleQueryInput>
>             <!--Zero or more repetitions:-->
>             <ns1:status>COMPLETED</ns1:status>
>             <ns1:pageSize>100000</ns1:pageSize>
>             <!--Optional:-->
>             <ns1:pageNumber>0</ns1:pageNumber>
>             <!--Optional:-->
>
> <ns1:simpleQueryCategory>ASSIGNED_TO_ME</ns1:simpleQueryCategory>
>          </ns:simpleQueryInput>
>       </ns:simpleQuery>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> 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 <hasi...@wso2.com> 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 <vi...@wso2.com> 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 <vi...@wso2.com> 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 <cham...@wso2.com
>>>> > 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) <j...@wso2.org>
>>>>> 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
>>>>> <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
>>>>> 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 <http://www.wso2.com>.*
>>>> Mobile : +94 (0) 712 415544
>>>> Blog : http://soatechflicks.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Vinod Kavinda
>>> Software Engineer
>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>> 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/
>



-- 
--
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

Reply via email to