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 » mapping question

Post new topic  Reply to topic
 mapping question « View previous topic :: View next topic » 
Author Message
anveshita
PostPosted: Thu Apr 14, 2005 1:02 pm    Post subject: mapping question Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

I have a model as following


Quote:

A----------->B
| ------------>c

c------------->b


I have data connector from

A--->B
A--->C
C---->B

I am mapping a data container element "user" from A-->B and C-->B
when it is from A-->B the value needs to be "XYZ"
when it is from C-->B the value needs to be "PQR"

Now if A-->c is true, what will be the value of the data container element in "B"?

Since I am mappint the data container form A and C to B for the same element,
which one will take precedence?
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Apr 14, 2005 1:12 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

The last one will overwrite any thing that is already mapped.

So if you have

A--> B, A-->C and C---> B

If your flow takes path A--->C and C--->B

The mapping of C---> B will override anything that is mapped from A---> B.

If C---> B is only a subset of A---->B, only those elements that are mapped from C will be overridden and all the others that were mapped from A--> B will remain.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Thu Apr 14, 2005 2:14 pm    Post subject: Reply with quote

Jedi Knight

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

I am confused.... what is the order that the activites run?

Is it A then B then C

Or is something running in parallel?

In other words, just knowing the Data connectors does not guarantee that we can tell you the answer... We need to know the order that the activites run also.
_________________
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
anveshita
PostPosted: Thu Apr 14, 2005 4:14 pm    Post subject: Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

Ratan, jmac
I am thinking in the same.Somehow the mapping of data is messed up.
I am assigning the work items using "predetermined memebrs" and using _activity_info.people to assign the work.
Here is the explanation



Activity "A" , activity "C" and activity "B" activities are in a block.

Work comes to first activity "A".

activity "A"--to--activity "C" is a default connector hence work goes to "activity "C"".

Let us say the user "XXXXUSER" at "activity "C"" opts to wait. Here I come out of the block and wait for "x" minutes. After the wait period is over I enter the block again.

Now "activity "A"" checks if it came from "activity "C"" or activity "B".
If it came from "activity "C"" in the first iteration, then a work item is created for the user at activity "C".

User at "activity "C"" may process the work or may send the the work to user at activity "B".

If the user at activity "B" processes the work, we exit the block.
Instead of processing, user at "activity "B"" may opt to wait.
if so, I come out of the block and wait for "x" minutes. Once wait is over, we enter the block again.
Now, the contact admin at "activity "A"" checks and determines that the activity came from activity "B",
hence it assigns the work to user "YYYYUSER" at "activity "B""

A is a "do nothing" auto activity that just determines things.

Here is the problem:
1. Work item goes activity "A"--to--activity "C" during first iteration
2. If user "XXXUSER" opts to wait then the work item is getting assigned back to "XXXUSER" back.
3. Now if the user "XXXUSER" decides to send the work item to user "YYYYuser", it follows the path C---to--B,

My problem is that the work is getting assigned to 'XXXUSER" instead of "YYYYuser" at activity "B"
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Apr 14, 2005 5:07 pm    Post subject: Reply with quote

Jedi Knight

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

This is extremely difficult to understand, and the FDL you sent is useless as it does not contain the Data or the programs. Learn to do an export Deep when you are sending something to someone.

My guess is that your mapping is hosed, but I can not tell because I can not see the mappings without the Data structures being sent.
_________________
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
Ratan
PostPosted: Thu Apr 14, 2005 5:46 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

My earlier reply was based on the assumtion that control flows from A to B and also from A to C and C to B
_________________
-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 » mapping question
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.