1 Reply Latest reply: Feb 27, 2014 2:25 PM by 918135 RSS

    Extract String the ${http.request.path} variable

    918135

      Hi,


      I would like to extract value from the variable ${http.request.path}

       

      Ex: If ${http.request.path} = /test/ramana/details, I would like to define variable say "customer" and assign "ramana" to customer.

       

      Use Case: I want to set this variable "customer" to "Service Context" activity.

       

      I tried to use "Extract Path Parameters", as explained in Extract Path Parameters

       

      But I am unable to add success path from Extract Path Parameters to Set Service Context .

       

      Policy Path:

       

      Extract Path Parameters --> Set Service Context --> Connect to URL.

       

      Can you please help.

       

      Thanks

      Ramana.