cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
192
Views
3
Helpful
2
Replies

Replace String does not store result

Jeff Orr
Level 5
Level 5

I am using Replace String to perform a urlEncode, replacing / with %2F. This works; however, there is no option to set a variable, or the input variable does not appear to be modified. 

What step would be required to get this to work?

 
2 Replies 2

Jeff Orr
Level 5
Level 5

I ended up figuring this out. I needed to replace the string first, then set a new variable to the output/result of the replace string activity. After doing this, the relative URL path was updated to use the new variable with the encoded interface number.

JeffOrr_0-1765765037551.png

 

@Jeff Orr Thank you for posting your question and the solution you found.  You are correct that the Replace String activity does not automatically store the updated string, you do have to use a Set Variable activity to do that using the result from the Replace String activity.