Replace fields in xml request to post a http request with some dynamic values

Hi All,

I am trying to replace a particular value with a dynamic value in the xml request,using some regular expressions,but I am not able to replace it at correct position.
Say,in the below image I want to replace the conversation ID value to CONID123 instead of example123456.
How can I achieve that?
I tried with regular expressions (?[^}])ConversationId(?[^}]), by manipulating it as well and using Replace activity but no luck :frowning:

with regex replace a quick and dirty approach:

replacement together with 2nd group:

as an alternate ist can be done with methods from the different XML Apis as well

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.