cancel
Showing results for 
Search instead for 
Did you mean: 

Processing Only valid records in PI

Former Member
0 Kudos

Hello All,

We have a File to proxy scenario, Our requirement is like if their are 10 messages coming in an file and if their is one invalid record in it, then our client wants to process the remaining 9 records and send it to ECC...The invalid record will be sent either by mail or stored in an file. Can you tell us how to achieve this in PI.

Thank you for your replies.

Accepted Solutions (1)

Accepted Solutions (1)

peter_karg
Explorer
0 Kudos

We had a requirement to split incoming orders based on information in the source file. I have created two mappings, two channels and did an interface split, see attached picture. This should work for your requirement also.

Regards Peter

Answers (3)

Answers (3)

former_member193466
Participant
0 Kudos

Hi, I think this can be achieved with extended Interface determination where you can check if the records exists or not. If exists you can trigger for mail if not can process the file.

You can give a try for this, it should work.

Former Member
0 Kudos

The actual requirement is that the source should pass value to all the five target fields, if any of the source field is not available then it should not fail in PI and also should not be passed to ECC, it should be collected separately by either email or file.

former_member193466
Participant
0 Kudos

Hi,

What do you mean by invalid record? how would you distinguish the valid and invalid in file?