Author |
Message
|
anveshita |
Posted: Thu Apr 14, 2005 1:02 pm Post subject: mapping question |
|
|
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 |
|
 |
Ratan |
Posted: Thu Apr 14, 2005 1:12 pm Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Thu Apr 14, 2005 2:14 pm Post subject: |
|
|
 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 |
|
 |
anveshita |
Posted: Thu Apr 14, 2005 4:14 pm Post subject: |
|
|
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 |
|
 |
jmac |
Posted: Thu Apr 14, 2005 5:07 pm Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Thu Apr 14, 2005 5:46 pm Post subject: |
|
|
 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 |
|
 |
|