Skip to Content

How to pass dynamic value in Content modifier ?

Hi Experts,

I am working on one scenario in which I am using write variables with proper date time format i.e. ${date:now:yyyy-MM-dd'T'HH:mm:ss'Z'}.

After that I am using 2 content modifiers via timer event ,In first content modifier I am reading the value of write variable in Exchange property named as get_variable.

In Second content modifier, I am using Externalized parameter in Exchange property in which I need to pass the value of first content modifier.

Right now I am using ${property.get_variable} but it is not working for me.

Is there any other option to read the value from one content modifier to another when using externalized parameter.

Thanks in Advance!

Regards,

Pravesh Shukla

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 19 at 09:44 AM

    Hi Pravesh,

    Please use just as get_variable instead of ${property.get_variable}

    that should work.

    Hope this helps!

    thanks and regards,

    Praveen T

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Praveen,

      I used this also but if we use only this, it will not work.

      My issue is resolved now, I just put groovy script after this content modifier and in that script we need to get that variable(get_variable) and set property of that variable into (test_var- as you mentioned.)

      Thanks for your help! :)

      Regards,

      Pravesh Shukla