Author |
Message
|
PisgahMan |
Posted: Wed Dec 14, 2005 7:30 am Post subject: Person not defined in MQWF -can you work around in the model |
|
|
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 |
|
 |
kotha |
Posted: Wed Dec 14, 2005 8:34 am Post subject: |
|
|
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 |
|
 |
PisgahMan |
Posted: Wed Dec 14, 2005 8:58 am Post subject: |
|
|
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 |
|
 |
PisgahMan |
Posted: Wed Dec 14, 2005 9:34 am Post subject: |
|
|
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 |
|
 |
jmac |
Posted: Wed Dec 14, 2005 10:20 am Post subject: |
|
|
 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 |
|
 |
kotha |
Posted: Wed Dec 14, 2005 10:34 am Post subject: |
|
|
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 |
|
 |
|