on 06-27-2016 12:34 PM
Hello experts,
I have a message split mapping and my problem is that if no target messages are created i get the error Split mapping created no messages.
In my scenario there is possibility that no messages are created . so is there a way to avoid error message without using BPM or a dummy message ?
Thanks in advance
Unfortunately as far as I know, PI will complaint if your Mapping does not generate any message with the error described.
What I do in such cases if we know there could be no messages generated is use a Enhanced Receiver Determination ( or the normal Receiver Determination if XPATH based conditions can be used ) to identify if the source will generate the message or not. If no receiver is set, then in the Receiver Determination we set the condition to ignore message and terminate as successful if no receivers found..
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ioannis,
You will need to make the receiver interface signature to make it optional in the multi-mapping and then use logic to create it only when required.
Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For root nodes use if and else condition
Put your split condition for if and for else use constant as blank.....
Thanks,
Sreenivasa Veldanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Loannis,
Map the root node with the below condition and check
Source--------->Map with Default------------>Target.
[]
This will create a empty target node even if the source doesn;t have one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.