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 » Workflow ActiveX API

Post new topic  Reply to topic
 Workflow ActiveX API « View previous topic :: View next topic » 
Author Message
Milesi
PostPosted: Tue Apr 16, 2002 7:48 pm    Post subject: Reply with quote

Apprentice

Joined: 15 Apr 2002
Posts: 37

Hello,

As part of a customized client aplication, I am trying to build a user object for every activity. I want to retrieve info about the person supposed to do the task in first place (This occurs when dealing with backups). I have found in the programing guide that workitem.staff returns an array of userID of all persons associated with the activity that is represented by the item, I assume this only include the users associated with a specific activity after staff resolution is done (And not the backup, or the person the task is forwarded to). My question is can I retrieve a person Object when I have his userID?

If I am doing an activity as someone's backup, can I find in containers who is the person I am doing it for ?

Is it possible to know for whom you are the backup?

Thank you

Cheers,

Thierry

Back to top
View user's profile Send private message Yahoo Messenger
vedbhat
PostPosted: Tue Apr 16, 2002 9:07 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

Once you retrieve the UserSettings and Logged in User, I guess you can retrieve the a list of UserIDs for whom this person substitutes by calling the method "PersonsToStandInFor".

I hope this will help you to solve your problem.

Regards
Ved
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Milesi
PostPosted: Tue Apr 16, 2002 9:36 pm    Post subject: Reply with quote

Apprentice

Joined: 15 Apr 2002
Posts: 37

Thxs ved this helps for a start.

Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Wed Apr 17, 2002 6:50 am    Post subject: Reply with quote

Jedi Knight

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

There is an API available against the ExecutionServer Object persistentPerson(String userid). This will return a Person object. The requestor must have access to the specified person or an authorization exception will be raised. I've not tried this with the ActiveX API, but it works fine with Java.

Use code like this:
Person p = myService.persistentPerson("USERA");
p.refresh(); // If the person doesnt exist this will raise an exception.
// assuming no error, you can issue any person methods against object p.

GOOD LUCK

_________________
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
Milesi
PostPosted: Wed Apr 17, 2002 5:19 pm    Post subject: Reply with quote

Apprentice

Joined: 15 Apr 2002
Posts: 37

Thank you for the answer.

Cheers,


Thierry
Back to top
View user's profile Send private message Yahoo Messenger
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 » Workflow ActiveX API
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.