on 02-13-2007 6:01 AM
Hi All,
I have requirement to have a counter in the mapping. But the problem is that the counter variable should hold the value not just for that instance. it should carry the value to the next instance of mapping.
So please guide me in acheiving this.
Regards
Gopi
Hi Gopal,
Next instance of mapping means in the next executioin of the scenario right? I fear thats not possible. Even use of global containers help in communication within a mapping only.
A way to achieve this is to store the "Counter" value in a file using Java code in UserDefinedFunction. Then access the file in UDF for retrieving the value.
Regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have a field defined in the target strucutre that has holds the counter value. this can be done by using the node function by pointing the source to it. the result of the counter pointed to target. by this we will be able to get the value.
<i><b>But the problem is that the counter variable should hold the value not just for that instance. it should carry the value to the next instance of mapping.</b></i>
not sure abt this req. but u can try with a DB lukup which will store the counter value and again restore the value when u need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.