on 2008 Jan 17 11:09 PM
hi everybody
I hava querri regarding removecontext if we use both an userdefined function and remove context in the message mapping than does how does the removcontext influence on the user defined functions, can any one please help me regarding this
thanks and regards
sandeep
Hi,
Remove context is used to remove the context changes while mapping. It will removed all the supress line feeds.
If you are using the UDFs with Queue, then only you need to use the remove context API to process it.
If your UDF (with Context) is constrained from a particular Context then there will be no need to use it.
Context Handling
Context handling you use when you want to group elements in different node from source into the single node of target with multiple occrance of element( remove context) and if you want to do rever of it the use function split by value .
You need advanced UDFs to handle these manipulations for multiple ocurances.
Now suppose in the target you want to have sum of all Amount in the record. So this you can achieve by removing the context of Amount to Records rather than Item. So that you can have all Amount(s) in same context and hence you can use 'sum' function from Statistics function group in graphical mapping.
Similarly you can use UDFs to handle these kind of processes which are not directly available in graphical mapping APIs.
There are few reference material, this could help you
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the UDF is inserting some context changes programmatically inside it, Remove contexts would remove them. Did I understand your question correctly??
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.