RequestContext.getFlowExecutionUrl() is null in on-entry action
I have an action in which I need to get at the flowExecutionUrl. There is a method on the RequestContext called getFlowExecutionUrl() , but it returns a blank string. The flowExecutionUrl is available in my freemarker view though. Any idea why it is not available in the on-entry action?
Code:
<view-state id="memberPayAndReview" view="/shop/checkout/review_pay_signed_in">
<on-entry>
<evaluate expression="memberPayAndReviewAction.viewOrder(order, flowRequestContext)" result="flowScope.displayOrder"/>
</on-entry>
</view-state>