How to fetch the request parameter in shell rules ?

Hi All,

I want to fetch a request parameter from the URL and then using that parameter i want to create a shell rule
i.e. if parameter value is a, then do this

i used the below syntax:
#{request.parameterNames.param== “value”}
but it didn’t gave me the expected result :cry:
where param is the parameter that i am passing to the URL and value is its value.

Could any one please let me know how to do this?

Thanks & Regards,
Prateek Bhatnagar

I believe the syntax would be like this:

request.parameter("param") == "value"

Thanks Eric, it worked for me :slight_smile:

Prateek Bhatnagar