Data Integration

 View Only

Datastage Pipelines - Send Email Node - Attachments

  • 1.  Datastage Pipelines - Send Email Node - Attachments

    Posted Thu April 11, 2024 05:00 PM
    Edited by Piper Wilson Tue April 16, 2024 02:27 PM

    Update... the solution to my issue in CP4D Datastage is to use square brackets to surround the cel expression I was entering in the expression editor. This doesn't seem to be mentioned in the documentation anywhere that I could find.

    Can anyone point me to an example of how to configure multiple file attachments in a Send Email Pipeline node?

    I have tried to use a cel expression to list filenames and paths similar to legacy Datastage but even with a valid cel expression (e.g. '<filePath1>,<filePath2>' )  I get this error:

    "Invalid result "attachments" value, error: not matching List type, details: invalid character '/' looking for beginning of value"

    I would guess that either there is a way to configure a list in cel that I can't find or maybe this isn't supported at all?

    We are using Datastage on Cp4D 4.8.3

    (our files are kept on an NFS mounted drive if that matters)

    TIA, jrh



    ------------------------------
    John Hartley
    ------------------------------