Skip to Content

Blank File with empty tags

Hi SDNites,

I have a sceanrio where 3rd party is producing a file with no data but it has header empty tag like,

</field1>

Please advise how can I stop PI from processing it and if required raising appropriate alerts.

Regards,

Abhi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Aug 04, 2017 at 07:50 AM

    Hello Abhishek,

    Why do you make the target field which is mapped to this field as mandatory and make the mapping fail if this field has no value.

    Add comment
    10|10000 characters needed characters exceeded

    • With errors on every instance will add overhead to the application support team. Is there any way that file is not processed via PI but can be archived and file name changed for monitoring.

      My understanding is it can be done via Module bean / OS commands / writing a standalone script. Please let me know if this is correct or there is any other better way to do it.

  • Aug 08, 2017 at 06:25 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Aug 08, 2017 at 06:25 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 08:09 AM

    Hello Abhishek!

    You could use schema validation in sender adapter.

    Another option is to check the message content in Receiver Determination and generate error if no receiver is found. Further you can use Message Alerting to raise alerts for those messages.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded