Hi All,

I got the candidateGroups working. The url query parameter "candidateUser"
throws the following error[1].

[1] - {"errorMessage":"The server encountered an unexpected condition which
prevented it from fulfilling the request","statusCode":500}

Thank you.

Regards,
Shiva Balachandran


On Thu, May 14, 2015 at 3:44 PM, Shiva Balachandran <sh...@wso2.com> wrote:

> Hi Amal,
>
> I tried out the above. The issue with the above is that the url parameter
> is wrong. it should be candidateUser, when we use candidateUsers, this
> returns all tasks, hence the json reponse we got. When i use the correct
> urlParameter i get the following error[1].
>
> Also, I tried with candidateGroup and candidateGroups, this too didnt
> work, no response was populated. I tried invoking through soapUI as well.
>
> i have attached herewith the model class for the claimable task.
>
> I have finished with the UI, just need to populate the claimable task, i
> was thinking of re-using the re-assign button in the inbox view to claim
> the task as the functionality is the same. Let me know if that is okay or
> should we re write a specific block for to claim a task.
>
> [1] - {"errorMessage":"The server encountered an unexpected condition
> which prevented it from fulfilling the request","statusCode":500}
>
> Thank you.
>
> Regards, Shiva Balachandran
>
> On Tue, May 12, 2015 at 7:32 PM, Amal Gunatilake <am...@wso2.com> wrote:
>
>> Hi Shiva,
>>
>> Send the request with the parameter candidateUsers:
>> https://locaohst:9443/bpmn/runtime/tasks?candidateUsers=kermit
>>
>> More info regarding the parameters are mentioned in the Activiti user
>> guide under "*Table 111. List of tasks - URL query parameters*"
>> http://www.activiti.org/userguide/#_tasks_2
>>
>> Regards,
>> Amal
>>
>> On Tue, May 12, 2015 at 6:36 PM, Shiva Balachandran <sh...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I deployed a process containing user tasks with candidate users and
>>> cadidate groups. Once i deployed these processes in the server, i created
>>> instances of the task. I used the rest API to check if the task are created
>>> and i noticed that the json returned doesn't have the candidate properties
>>> specified in the process. Without these properties we cannot differentiate
>>> or address these task to a user, these will be hidden. I have attached the
>>> .bar file and the json response from the server for the request[1]. This
>>> would be the reason for JIRA[2].
>>>
>>> We need to identify as to why these properties are not listed or ignored.
>>>
>>> [1] - http://localhost:9763/bpmn/runtime/tasks
>>> [2] - https://wso2.org/jira/browse/BPS-656
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Shiva Balachandran
>>>
>>> On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake <am...@wso2.com>
>>> wrote:
>>>
>>>> Hi Shiva,
>>>>
>>>> I have created a sample icon that matches with the existing icons which
>>>> can be used for the new "Claimable tasks" tab.
>>>>
>>>> Best regards,
>>>> Amal.
>>>>
>>>> On Tue, May 12, 2015 at 11:29 AM, Shiva Balachandran <sh...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Firzhan,
>>>>>
>>>>> The tab we currently have is My Tasks view only, we will be
>>>>> introducing the claimable tasks tab for the above mentioned requirement.
>>>>> The queued and involved tabs are what is present in the acitviti explorer
>>>>> from activiti.
>>>>>
>>>>> Thank you.
>>>>>
>>>>> Regards,
>>>>> Shiva Balachandran
>>>>>
>>>>> On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash <firz...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Just for clarification, if we are going to move the claimable tasks
>>>>>> to a separate tab, then we will be utilising the both involved and
>>>>>> claimable tabs.
>>>>>>
>>>>>> Can I know the necessity of using queued tab in this scenario.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Firzhan
>>>>>>
>>>>>> On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran <sh...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Amal,
>>>>>>>
>>>>>>> Also, to add to that, i just deployed a process with tasks
>>>>>>> containing candidate users and a candidate group. The users cannot see
>>>>>>> these tasks listed anywhere in the BPMN Explorer. I checked the backend 
>>>>>>> the
>>>>>>> explorer has the necessary jag code to populate these in the My Tasks 
>>>>>>> view,
>>>>>>> will debug further. JIRA[1] has been created previously to track this.
>>>>>>>
>>>>>>> [1] - https://wso2.org/jira/browse/BPS-656
>>>>>>>
>>>>>>> I will work on this.
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Shiva Balachandran
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, May 12, 2015 at 11:00 AM, Amal Gunatilake <am...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Chathura,
>>>>>>>>
>>>>>>>> Yes, I too think having a separate tab for claimable tasks is a
>>>>>>>> better approach. Shall we call it the "Claimable tasks" tab?
>>>>>>>> To keep in track I created a jira ticket for this :
>>>>>>>> https://wso2.org/jira/browse/BPS-660
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Amal.
>>>>>>>>
>>>>>>>> On Tue, May 12, 2015 at 10:41 AM, Chathura Ekanayake <
>>>>>>>> chath...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Amal,
>>>>>>>>>
>>>>>>>>> Currently the BPMN explorer displays only the tasks "assigned" to
>>>>>>>>> the logged in user. But it does not display tasks if the current user 
>>>>>>>>> is a
>>>>>>>>> candidate user or in a candidate group. Did we plan to implement this 
>>>>>>>>> in
>>>>>>>>> the explorer?
>>>>>>>>>
>>>>>>>>> I think we should have a separate tab for claimable tasks, which
>>>>>>>>> shows tasks assigned to both candidate user and candidate group. WDYT?
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Chathura
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Amal Gunatilake*
>>>>>>>>  Software Engineer
>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Shiva Balachandran
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc.
>>>>>>>
>>>>>>> Mobile - +94 774445788
>>>>>>> Blog - https://shivabalachandran.wordpress.com/
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Shiva Balachandran
>>>>> Software Engineer
>>>>> WSO2 Inc.
>>>>>
>>>>> Mobile - +94 774445788
>>>>> Blog - https://shivabalachandran.wordpress.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Amal Gunatilake*
>>>>  Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>
>>>
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>
>>
>>
>> --
>> *Amal Gunatilake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to