How to reassign a workitem to a group

View: New views
5 Messages — Rating Filter:   Alert me  

How to reassign a workitem to a group

by skysea :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,all:
   I want to reassign a workitem to a group,when I used the method which is "reassignWorkItem" to assign the task,but the method just only reassigned a user,not a group.who knows a method solving the problem.Help me!!!!!!!!!!


Regards

Re: How to reassign a workitem to a group

by DS-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm... Could you define "group"?

Sorry, I am not sure if I got you right so I'll tell you what I have. I am
using my own manager so if you are using something else that may not be
applicable.

Assignment happens when an activity created.  It returns a list of assignees.
Once it is complete, there is no way to add new assignments to an activity
later. Therefore I really has to take care of my assignments in the manager.

However you may re-assign an activity. So what I do is, I assign activity to a
user group in the manager and then if necessary override that assignment to a
user or back to a group anywhere else. User or group name is just a string that
represents users and groups from external permission system. So Shark is
agnostic to that sort of data.


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: How to reassign a workitem to a group

by Joao Nelas-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's the way we do it also.

On Wed, Sep 9, 2009 at 5:23 PM, DS<dmitry.shulga@...> wrote:

> Hmm... Could you define "group"?
>
> Sorry, I am not sure if I got you right so I'll tell you what I have. I am
> using my own manager so if you are using something else that may not be
> applicable.
>
> Assignment happens when an activity created.  It returns a list of assignees.
> Once it is complete, there is no way to add new assignments to an activity
> later. Therefore I really has to take care of my assignments in the manager.
>
> However you may re-assign an activity. So what I do is, I assign activity to a
> user group in the manager and then if necessary override that assignment to a
> user or back to a group anywhere else. User or group name is just a string that
> represents users and groups from external permission system. So Shark is
> agnostic to that sort of data.
>
>
> --
> You receive this message as a subscriber of the shark@... mailing list.
> To unsubscribe: mailto:shark-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

答复: Re: How to reassign a workitem to a group

by skysea :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,DS:
        You said that you may re-assign an activity to a user group.Can you
tell me how to achieve it? Or give me a example.Thank you for your help.

Regards

-----邮件原件-----
发件人: DS [mailto:dmitry.shulga@...]
发送时间: 2009年9月10日 01:23
收件人: shark@...
主题: [shark] Re: How to reassign a workitem to a group

Hmm... Could you define "group"?

Sorry, I am not sure if I got you right so I'll tell you what I have. I am
using my own manager so if you are using something else that may not be
applicable.

Assignment happens when an activity created.  It returns a list of
assignees.
Once it is complete, there is no way to add new assignments to an activity
later. Therefore I really has to take care of my assignments in the manager.


However you may re-assign an activity. So what I do is, I assign activity to
a user group in the manager and then if necessary override that assignment
to a user or back to a group anywhere else. User or group name is just a
string that represents users and groups from external permission system. So
Shark is agnostic to that sort of data.




--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: 答复: Re: How to reassign a work item to a group

by DS-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is not really what I said. I said I can reassign activity using existing
assignment. However what you assign it to is just a simple string. It can
represent a user name, a user group, a table, a tree, an idea, whatever. It is
just a string. It is up to the consuming method how to interpret it. In my
case, I use a prefix to type-ify it, i.e. 'usergroup.' for user group, 'user.'
for user, followed by a numeric ID, i.g. 'usergroup.1' is a user group with ID
1, 'user.200' is a user with ID 200, 'table.120' is a table with ID 120, and so
on.


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws