Use of condition.

Hi,

Is there a way to negate the condition on path.If I want to execute a policy if the condition request.path MatchesPath "/abc" does not satisfy, how can this be achieved.

Solved Solved
1 2 741
1 ACCEPTED SOLUTION

Not applicable

hi,

you can use '!' operator to negate the condition i.e !(request.path MatchesPath "/abc").

View solution in original post

2 REPLIES 2

Not applicable

hi,

you can use '!' operator to negate the condition i.e !(request.path MatchesPath "/abc").

Thanks @sonali_somase@persistent.com, it worked. I was trying -not MatchesPath and it was not working.