AnsweredAssumed Answered

The HTTP RequestHeader replacable variable getting lost

Question asked by vishalmmx969131 on Jun 22, 2017
Latest reply on Jul 3, 2017 by Sjaak Overgaauw

I am having lot of difficulty setting up value for replaceable RequestHeader variable in a REST Web service. I am able to run it fine if i hard code it. I mean in the Request Header, I remove the replaceable variable checkbox and directly hard-code the variable and it works.

 

I have a process where I have set one of the Request Header variable has replaceable variable. If you notice the screenshot below. It is marked as replacement variable.

 

Now I have created a process property (Not dynamic process property) with a default value. This default value is what I want to pass to the value to the web service request header variable in the above screen shot.

 

In my process, this is how I am passing the value to the replaceable Request Header variable "Auth" as follows.

 

 

This is how the parameters are set in the HTTP Client connection

 

The problem is that my connection fails because looks like there is no value in the Auth variable or it is getting wiped off or getting lost. How would I make sure it is sticking?

 

Thanks

Outcomes