Hi,
I have a conditional flow defined with a few conditional steps. While the condition is being checked when starting the conditional flow, the conditions are not checked at the individual step level.
Not sure what I have missed.
Here is my flow. Even though Policy_2 and Policy_3 should have run based on the condition, it is actually running in all cases. The trace does not show a check happening.
Please help.
<Flows> <Flow name="post /users"> <Description>Create a user</Description> <Request> <Step> <Name>Policy_1</Name> </Step> <Step> <Name>Policy_2</Name> <condition>{request.queryparam.param1 = "register"}</condition> </Step> <Step> <Name>Policy_3</Name> <condition>{request.queryparam.param1 = "register"}</condition> </Step> </Request> <Response> </Response> <Condition>(proxy.pathsuffix MatchesPath "/users") and (request.verb = "POST")</Condition> </Flow> </Flows>
Solved! Go to Solution.
Can you try <Condition> instead of <condition>. Notice capital “C”
Thanks
Can you try <Condition> instead of <condition>. Notice capital “C”
Thanks
It is elementary, my dear Watson! Thanks @isaias.arellano.delgado
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |