cancel
Showing results for 
Search instead for 
Did you mean: 

Validating the file

Former Member
0 Kudos

Hi...

Once XI receives the File, the BAD records needs to put aside in a different file and only the good records needs to be sent to the Adapter. How we achieve this by using the Module processing...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI,

In general these type of things we can do in Mapping fileter condition by giving condition at root/message level,If the condition is not satisfies then no message will be created , is success ful message based on functional condition the result message will be assinged..

This is pne mesthod,

th esecond methos is , create two messages , in target side , one for orrect records one for incorrect records, Similarly create the same Message interfaces also.

In mapping create a udf to satisfies the filter condition at each message root level,

In configureation route the messae interfaces as per business requirement.

In Mapping use ResultList.SUPPRESS , and message occurrences should be 0..unbound or 0..1

Regards

Chilla

prabhu_s2
Active Contributor
0 Kudos

processing depends...how do u identify a gud and a bad record? based on that we can look for possible solutions

Message was edited by:

Prabhu S

Former Member
0 Kudos

we can do it during mapping by splitting the records into "correct" and "incorrect" and then send the desired "correct" records...

but i m not sure how to do this by module processing..as u have described...

pls update it

Former Member
0 Kudos

hey

Efforts must be taken to do most of the File validations outside XI as possible coz XI is a middleware not a testing tool.

one thing which u can do is during mapping use the CreateIf standard function,this will make sure that only receiver response are created for correct node.

thanx

Ahmad