on 10-20-2008 1:29 PM
Hi Experts
I have done splitting of messages using the following blog
But here how to map One source message to two different messages based on the value.
In above example IF its A it is going to one bpm_out message
if it is B it is going to bpm_out1. How to do this mapping..
Please suggest me
Regards
Sowmya
Edited by: Sowmya on Oct 20, 2008 5:59 PM
Hi Sowmya,
You can also try Split by value in node functions.
If you r doing the scenario based on the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748. [original link is broken] [original link is broken] [original link is broken]
you just try mapping to name---splitbyvalue-bpm_out_MT
Regards,
Leela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sowmya
As i mentioned in my replied that Details node would be map with both info nodes.(This is Node to Node Mapping).This is mapping b/w details and both Info.
Steps:
details----> Index
Here Index is Statistic function.In this Put initial value=1,Increment=1,Count Indices="Contex".
Index ---> equalS
Constant(1)-->
After this
equalS->createIf->Info
End to End b/w detail node and info node is:
details->Index(initial 1,increment 1,Context)->equalS--->CreateIf-->info
*************************************Contant(2)----->
Now describe child node mapping :
Child node of Info
Name--->Name
Id----
>Id
Again for Next Child Info node
Name--->Name
Id----
>Id
Constant(any value)--->Age
Name and Id field should have 1:1 map
but you have to map both name and id of info node with Detail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is condition based mapping, use the conditions with if and else function in your mapping that's it.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can do like this.
Suppose these values are coming for Name field then
for BPM_OUT1 mapping will be
If(ifWithoutElse) Name equals Constant A map it to BPM_OUT1
and for BPM_OUT2
If(ifWithoutElse) Name equals Constant B map it to BPM_OUT2
Did you try this?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make 2 different mappings
name------------>equalsS----->if<--------tgt1
constant[A]---> then<----name
name------------>equalsS----->if<--------tgt2
constant<b>---> then<----name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
use this
Detail Node map with Both Info
details->Index(initial 1,increment 1)->equalS--->CreateIf-->info
Contant(2)----->
Use constant value in equalS as second value.
if any problem then get back to me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.