Class Name

atg.markers.bp.droplet.MostRecentBusinessProcessStage

Component

/atg/commerce/bp/droplet/MostRecentShoppingProcessStageDroplet

This servlet bean checks if the shopping process stage the order has reached most recently matches the specified stage. It is an instance of MostRecentBusinessProcessStage with the businessProcessName property set to ShoppingProcess.

Input Parameters

businessProcessName
The name of the business process. If not specified, then we use the value of the servlet bean’s defaultBusinessProcessName property, which is ShoppingProcess by default.

businessProcessStage (Required)
The stage within the business process.

Output Parameters

errorMsg
The error message describing a failure.

marker
The matching stage reached, if found.

Open Parameters

true
Rendered if the specified shopping process stage has been reached.

false
Rendered if the specified shopping process stage has not been reached.

error
Rendered on error.

Example
<dsp:droplet name="MostRecentShoppingProcessStageDroplet">
  <dsp:param name="businessProcessStage" value="ShippingPriceViewed"/>
  <dsp:oparam name="true">
...
  </dsp:oparam>
  <dsp:oparam name="false">
...
  </dsp:oparam>
</dsp:droplet>