Skip to Content

Externalize Parameters: how to fetch value dynamically

Dec 26, 2017 at 07:25 PM


avatar image

Hi Experts

I have Timer start event(i harcoded payload for testing)to HCI to SFTP scenario where i want to put the receiver credential name dynamically from the incoming payload.

My incoming structure is:


and i want to pick the receiver credential name from <hedfield>sftpuser1</hedfield> of header field in the payload so i changed the below external parameter as follows.

Receiver channel external parameter

But everytime i set {{Receiver_credential_name_2}} as //header/hedfield it resets the value at runtime to my old saved credential that i used in past.

Am i not doing it the correct way. Please help.



ex-par-ques.jpg (37.2 kB)
ex-par-ques-1.jpg (21.4 kB)
10 |10000 characters needed characters left characters exceeded

Hi Naina. In the spirit of the community, please remember to also follow up on your open questions. Regards, Morten.


Hi Morten

This is where you are suggesting camel parameters, but for private key alias and credentials i coudnt see anything matching hence a new question



I am talking about your open questions in general. When you follow up, indicating what worked and what didn't, accepting answers, closing questions, you add value to the community, as well as respect the time of those community peers, who took the time to answer your questions.


see Morten just now i did, and will always do in future

thanks for your help

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mohammed Amine FRAYJIA Dec 27, 2017 at 01:44 PM

Hi Naina,

In the externalized parameters tab there is a save button you should click on it in order to save the new value.

But I don't know if the value could accept XPath expressions or not.

Please let us know if you solve your problem.

Best regards,
Mohamed Amine.

saveextparam.png (17.1 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Amin

Directly it did not work, so i added the incoming payload first in header and then called header in externalized parameter:

added LoginID in header

called header in EP:



success.png (17.3 kB)
success-2.png (11.9 kB)

Were you able to acces the SFTP dynamically using ${header.cred} ? the value changes ?