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 » API for Person

Post new topic  Reply to topic
 API for Person « View previous topic :: View next topic » 
Author Message
pingwf
PostPosted: Wed Aug 20, 2003 10:26 am    Post subject: API for Person Reply with quote

Novice

Joined: 09 Dec 2002
Posts: 23

Is there any JAVA API available to get details (like first name,last name) of a person (userID) from Workflow runtime service.I have a requirement to show user actual name instead of user ID in webclient.

Thanks
Deepak
_________________
IBM Certified Solutions Expert - MQSeries Workflow
Back to top
View user's profile Send private message MSN Messenger
Ratan
PostPosted: Wed Aug 20, 2003 10:30 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Yes, there is. Take a look at the Person Object.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
pingwf
PostPosted: Wed Aug 20, 2003 2:01 pm    Post subject: Reply with quote

Novice

Joined: 09 Dec 2002
Posts: 23

Thanks Ratan, I figured out the API to access Person details.

But is there any ways we can find out WF User ID from runtime server if the First Name and Last Name of PERSON is known.
_________________
IBM Certified Solutions Expert - MQSeries Workflow
Back to top
View user's profile Send private message MSN Messenger
Ratan
PostPosted: Wed Aug 20, 2003 2:17 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I am not clear what you are asking for.
If you are asking if you want to figure out the UserID just by FirstName and LastName, it is not possible because they are not unique attributes, and there is not API to my knowledge to do this.

If you want to know the logged in users UserID, there is an API call for that.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed Aug 20, 2003 5:31 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Deepak:

To get the UserId using the FirstName and LastName you can query the database. But
1. IBM will not support this
2. Duplicate results (ofcourse Ratan mentioned this).

I would come up with a better solution unless this is absolutely needed. That begs the question of:
"Why do you need a Workflow UserId based on First Name and Last Name". Is it for some sort of lookup? Ususally, the user information in a corporate should be in some Database or LDAP server or something like that. This is what you may use to build the PERSONS list in WMQWF. It is not a good idea to have different userids across different domains. So most likely you will have the same userid in Workflow too. That should be your source for looking up the UserId.

Anyway Workflow APIs will not provide anything for what you want to achieve.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pingwf
PostPosted: Thu Aug 21, 2003 11:46 am    Post subject: Reply with quote

Novice

Joined: 09 Dec 2002
Posts: 23

Thanks for all reply.

Quote:
That begs the question of:
"Why do you need a Workflow UserId based on First Name and Last Name".

Just wanted to know if one can query workflow runtime for ID lookup with First Name and Last Name Info.

There is a System/Application (not LDAP) which takes care of all employee's ID, right now we create same user ID in MQWF seperately each time a new employee joins. Is there any way I can integrate the MQ Workflow with the System which has all employee user ID information?
_________________
IBM Certified Solutions Expert - MQSeries Workflow
Back to top
View user's profile Send private message MSN Messenger
Ratan
PostPosted: Thu Aug 21, 2003 12:45 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

There is a way, but that depends on how badly you need it. If you were using LDAP you could have used LDAP bridge.

The other way is have a process to create a person. this process (P1) should generate the FDL and import it into WF. When your system gets a new user have it put a request XML for P1.
_________________
-Ratan
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 » API for Person
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.