on 04-03-2007 7:25 AM
what is context object?Will any one can explain me the one real situtaion where we use this context object
Hi Venugopal,
Context objects are alternative to XPATH expressions. It is like macros in other programming langugage. If you define this , you can use this object in the receiver determination while doing conditional receiver determination
Check out these
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
Here is a scenario where context objects were used for BPM
<i>[Reward points if helpful]</i>
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Context Object is the alternative to Xpath to access the content of a message element at runtime, this is to be defined in design time , and refer in messafe interface .
The use of context object, we can use it to access the content of a element in message in runtme. second case based on content we can route the message in condition.
Context objects are a simple alternative to XPath expressions for accessing the contents of a message
see the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In short, context objects are used to replace the complex Xpath expression. It is used for checking a particular field's value at runtime.
Scenario. If the sender msg has the value 1 in node<id> send the msg to target1 and if it has the value 2 send it to target 2. Here we create a context object and assign it to the id node in sender interface. In receiver determination we use the context object to check the value.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.