Activities and Groups

"Dahl, Greg (BLM) - contr" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <A8155E0D38B9D84D88EAC58C2D8F47BA05D7EA5A@blmms060.accounts.root.corp>
Thanks for the response.  
I was wondering if you could give me a few more details about how you're
solving your problem.

After giving it more thought, this is what I thought of:

I could use participants in XPDL that are linked to a specific role.

When I load the package and process into Shark, I would have to map
those participant roles to something.  What do you map yours to?  I
could map them to a "generic" Shark user id that actually represents an
entire group of people.

I would then have to map my "real" users to one(or many) "generic" Shark
user ids.  Then, my application's code would take the "real" user id,
look up which "generic" id to use (in our own database table) and then
log into Shark with that "generic" id.

The two problems I see with that solution are:

1. What if the user belongs to multiple groups - in order to get _all_
of their work, I've got to loop through all the "generic" ids they are
associated with and make multiple calls into Shark - one call for each
"generic" id.

2. It seems to defeat the purpose of having group and user/group mapping
in Shark.  What's the point of having it there if you have to do it
yourself?

The second question troubles me more.  I think I'm missing how something
should be done, but don't see the obvious solution.

Using the administration tool, you can statically map a participant role
to a shark group. So, why can't it be done dynamically?

Greg


> -----Original Message-----
> From: alper alper [mailto:[email protected]] 
> Sent: Thursday, July 21, 2005 1:36 AM
> To: [email protected]
> Subject: Re: [shark] Activities and Groups
> 
> 
> I'm having problems in similar fashion
> 
> For a solution i use participants in xpdl (namely
> roles) instead of groups, so when i list activities i
> fetch queue name from participantName(role) of an
> activity
> 
> 
> 
> --- "Dahl, Greg (BLM) - contr"
> <[email protected]> wrote:
> 
> > I'm either struggling with a poor design, or
> > something I can't find in
> > the workflow server.
> > 
> > I need to display various "queues" of work to a user
> > - one queue at a
> > time.  The user may be required to work many
> > "queues" but they only
> > display one at a time.
> > 
> > I thought the user's concept of a "queue" was the
> > same as Shark's
> > UserGroup.  I can assign a user to multiple groups
> > and then assign each
> > activity to the right group. Thus, the user would
> > see all the activities
> > they currently have work for.
> > 
> > However, I need to differentiate between the user's
> > work because the
> > user is in "GroupOne" and the work they have because
> > they are in
> > "GroupTwo".  I don't want to see ALL of their
> > activities at once.  I can
> > get ALL of the activities by looping the results of 
> > get_sequence_work_item().  But, looking at the Assignment, 
> Activity, 
> > and Process, I can't determine what "group" its assigned
> > to.
> > 
> > Am I just not seeing it?
> > 
> > Greg
> > ******* Confidentiality Notice *******
> > This email, its electronic document attachments, and
> > the contents of its website linkages may contain
> > confidential health information.  This information
> > is intended solely for use by the individual or
> > entity to whom it is addressed.  If you have
> > received this information in error, please notify
> > the sender immediately and arrange for the prompt
> > destruction of the material and any accompanying
> > attachments.
> > 
> > 
> > 
> > 
> > > 
> > --
> > You receive this message as a subscriber of the [email protected] 
> > mailing list. To unsubscribe:
> > mailto:[email protected]
> > For general help:
> > mailto:[email protected]?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> > 
> 
> 
> 
> 	
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - You care about security. So do we. 
> http://promotions.yahoo.com/new_mail
> 
>
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.