on 06-30-2009 7:22 AM
I have an incoming .txt source file.PI will do a record by record validation in this file.If any record is wrong PI will send this particular erroneous record to error log and then it will check the next records and if the next record is found OK , it will be mapped to target.
To summarize it, erroneous records should be sent to Error log and correct records should be mapped to target.How this can be achieved using UDF.IF possible can anyone please help how the UDF will look like
Note:I have some certain conditions on checking whether a record is wrong or not and I will use this conditions on UDF to validate a record in the file.I just need to know how an erroneous records will be sent to error log
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please tell exactly where your error log is present?
Warm Regards,
Anshul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am giving exactly the steps written in design steps
PI would do source record validation,record-by-record.If any record is found with incorrect field length or incorrect data format or mandatory data validation, raise an exception.
Process only successful records.The erroneous records should be rejected from original file and should be written to an error log in CRM server.And error log has standard format.
The processing should not stop because of invalid data in some records
I am giving exactly the steps written in design steps
PI would do source record validation,record-by-record.If any record is found with incorrect field length or incorrect data format or mandatory data validation, raise an exception.
Process only successful records.The erroneous records should be rejected from original file and should be written to an error log in CRM server.And error log has standard format.
The processing should not stop because of invalid data in some records
Thanks
I am giving exactly the steps written in design steps
PI would do source record validation,record-by-record.If any record is found with incorrect field length or incorrect data format or mandatory data validation, raise an exception.
Process only successful records.The erroneous records should be rejected from original file and should be written to an error log in CRM server.And error log has standard format.
The processing should not stop because of invalid data in some records
Thanks
Instead of thinking about UDF, you may directly add the conditions in mapping. If there is a separate error file structure required, then you may use multimapping with both error and normal file structures.
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 Experts
My scenario is as follows
1)There is a attribute called 'Channel'.
2)If Channel =Z002 then records will to a system.
3)If Channel=Z003 then records will go another system.
Point 2 and point 3 are being achieved using "Conditional routing' in Receiver determination and correspondingly creating two communicatio channel,two interface determination and two receiver agreement.
But the issue here is sending erroneous records to error log.Both Z002 and Z003 might have erroneous records.We need to filter out the these erroneous records and send it to error log which eventually store into a database.
The erroneous records will not be a file at all rather all these records will be stored into a log.
Any insight on this!!
Thanks
I am giving exactly the steps written in design steps
PI would do source record validation,record-by-record.If any record is found with incorrect field length or incorrect data format or mandatory data validation, raise an exception.
Process only successful records.The erroneous records should be rejected from original file and should be written to an error log in CRM server.And error log has standard format.
The processing should not stop because of invalid data in some records
Thanks
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.