Skip to Content
avatar image
Former Member

Trailer Total record count and Amount

I have a scenario where i have to check trailer total record from file to total record count in XI. If they are not equal i have to send an E-mail.

venkat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 27, 2007 at 05:36 PM

    Sedamkar,

    I think if you do two mappings you can solve your issue. In the first try to check the condition and pass some value like equal or notequal to a different field. In the second mapping check this field and if the value is notequal then use createif function to the root node of the email message type. So if it is true then it will send the email else will not send.

    Regards,

    ---Satish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 05:38 PM

    This is possible.

    you can do this all in mapping, use BPM or config only - depends on what you want to put in your message as well as if calculating the record count is available.

    e.g. you can use a A-UDF to check the record count, do the math and pass the variance as a field in your file - e.g. the header.

    In the ID configuration use the variance field as a condition and trigger your additional mail receiver from it.

    sincerely,

    --NM

    Add comment
    10|10000 characters needed characters exceeded