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 » Person not defined in MQWF -can you work around in the model

Post new topic  Reply to topic
 Person not defined in MQWF -can you work around in the model « View previous topic :: View next topic » 
Author Message
PisgahMan
PostPosted: Wed Dec 14, 2005 7:30 am    Post subject: Person not defined in MQWF -can you work around in the model Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

Our system for the most part takes staffing information from the data container to create work items. We do have a large number of persons in the database, but occasionally we do have a user that is passed in on the container that does not exist in MQWF.

I am looking for a way to work around this in the model. I know you can define a process admin and it will default to that user if no staffing is found. But that will not work in this system because on the front end some other fields are used to filter and display the users worklist.


..
So I am wondering if I could set up an activity(NOOP?) that would attempt to create a work item for the user in the container. Then I could use a control connector to check who work items were actually created for ( _ACTIVITY_INFO.People maybe?) and depending on that I could provide alternate routing.

Has anyone had an experience with something along those lines? Does it sound possible?
Back to top
View user's profile Send private message
kotha
PostPosted: Wed Dec 14, 2005 8:34 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

interesting post. I assume that you want to use the person name from container or that are already mentioned in the staff list in WF buildtime. and if you are not getting any value in the container, you will use the staff defined in WF buildtime. is it right???

if so, put a NOOP and check for the person in the container. if it is not null, it will go to the work item which has the "person from container" selected in the staff. if it is null, go to the another work item where you define staff from the database.
Back to top
View user's profile Send private message
PisgahMan
PostPosted: Wed Dec 14, 2005 8:58 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

Say I did get a value in the container but that value is not a valid person in WF Staffing.

For instance "pachyderm" is passed into the Container field, but does not exist in WF as a user. In that case I want to take a different action, so maybe I can try to create a workitem for "pachyderm" then on the output container check to see if that was actually who the work item was created for. If it was created for the process starter or process admin then follow one path, if the user was found take another path.

Make sense?
Back to top
View user's profile Send private message
PisgahMan
PostPosted: Wed Dec 14, 2005 9:34 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

I don't think _ACTIVITY_INFO.People is the right field to check so I am not sure if this will work. I don't know if the output container has who work items were created for.
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Dec 14, 2005 10:20 am    Post subject: Reply with quote

Jedi Knight

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

You can not check to see who owns a workitem from anything in the container. You need to use the API to determine this.
_________________
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
kotha
PostPosted: Wed Dec 14, 2005 10:34 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

PisgahMan wrote:

For instance "pachyderm" is passed into the Container field, but does not exist in WF as a user. In that case I want to take a different action
Make sense?


you say person from container is not in WF staff. if so, what you wanna do?? assign the workitem to admin??. You can always use API to check the staff details.
post your business requirement here. we will work it out.
Back to top
View user's profile Send private message
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 » Person not defined in MQWF -can you work around in the model
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.