ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Transfer Function in Web Client

Post new topic  Reply to topic
 Transfer Function in Web Client « View previous topic :: View next topic » 
Author Message
drgincbia
PostPosted: Tue Dec 23, 2003 7:52 am    Post subject: Transfer Function in Web Client Reply with quote

Apprentice

Joined: 23 Dec 2003
Posts: 35
Location: Omaha NE

Instead of having a message box pop up to key in a userID for the person to transfer the workitem to, our customer wants to have a drop down list of userID's / names of eligible resources that are authorized to receive the workitem. They would then select from this list for the transfer. This capability is needed from the worklist view and a customer application (jsp). Any suggestions on how to access the data to populate in this list?
_________________
D. Grandia
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Dec 23, 2003 8:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Have a look at the Person object and it will be obvious how to get the names.... HOWEVER, note that if a Person is authorized to ALL other persons there is no way to get the names.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ucbus1
PostPosted: Fri Dec 26, 2003 6:04 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Just to add to what John already mentioned:
(BTW john helped me on this forum for the same problem we wanted to solve)

We have to modify ListViewer.jsp, which can be found at
\Program Files\MQSeries Workflow\cfgs\(Your webclient configuration)\WebClient\webpages\forms.


Check the authorizations for user say ("TESTMGR").
Then get personsAuthorizedFor: for ("TESTMGR").
For each personId in personsAuthorizedFor list get the firstname, lastname, middlename using persistentPerson(personID)
Put each id in Treemap
end for

1.Easiest way to implement the above changes is to modify ListViewer.jsp and restart the "web client" web application, if you are using Websphere. Taking backup of original ListViewer.jsp is strongly recommended.


2. The solution works for users of type "TESTMGR" who has authorization for partial list of users. In the case of "ADMIN" (System administrator) type users who are authorized for "ALL" staff, the solution does not give the list of "ALL" users. This is not the limitation of the solution but this is how the personsAuthorizedFor function in MQWorkflow works. Please see workflow programming guide
PersonsAuthorizedFor()
Returns the persons for whom this person is authorized either explicitly or by being a substitute. If the person is authorized for all other persons, then no person is returned here.

3. The user "TESTMGR" needs to have " AUTHORIZED_FOR STAFF" authority.
This authorization can be set in build time. When defining the person under build time see to that the check box "Staff definition" under "Authorizations" tab is checked. Make sure the exported FDL contains "AUTHORIZED_FOR STAFF".

Also, be aware that the solution is an ineffiecient way of implementation
Thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Transfer Function in Web Client
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.