Skip to Content
avatar image
Former Member

Receiver file name

Hi,

i am getting file name as xyz_abc_date_timestamp.txt and in receiver file name is required as xyz_date_timestamp.txt how to acheive this in Dynamic config udf or any other process.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 01, 2017 at 06:30 AM

    Dynamic config should do the job for you. please try search and use the udf. this kind requirement is discussed many times. if you are stuck with code, please come back.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Muni,

      i am using this code at the end of dynamic config udf and returning file name.

      String filename="abc_"+conf.get(key).substring(13,27)+".txt";

      but filename is returning same as sender but not as per my requirement.

      Thanks.

  • Dec 01, 2017 at 03:24 PM

    can you share the full udf here? I can not verify with one line code.

    Asma properties are configured properly? Hope udf output is mapped to target root node in the message napping

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 01, 2017 at 03:24 PM

    can you share the full udf here? I can not verify with one line code.

    Asma properties are configured properly? Hope udf output is mapped to target root node in the message napping

    Add comment
    10|10000 characters needed characters exceeded