ClassName

atg.markers.bp.droplet.HasBusinessProcessStage

Component

/atg/markers/bp/droplet/HasBusinessProcessStageDroplet

This servlet bean checks whether the item has reached a stage in a business process.

Input Parameters

businessProcessName
The name of the business process. Defaults to the servlet bean’s defaultBusinessProcessName property. Setting the defaultBusinessProcessName property lets you create instances of the servlet bean that are specific to a single business process.

businessProcessStage (required)
The stage within the business process to check for. Rather than specifying markers for a particular stage, you can check for the presence of any markers from a given process by setting this parameter to the ANY_VALUE property as follows:

<dsp:param name="businessProcessStage"
  bean="HasBusinessProcessStageDroplet.ANY_VALUE"/>

Output Parameters

errorMsg
The error message describing a failure.

Open Parameters

true
Rendered if the specified stage reached marker is found.

false
Rendered if the specified stage reached marker is not found.

error
Rendered on error.

Example
<dsp:droplet name="HasBusinessProcessStage">
  <dsp:param name="businessProcessName" value="ShoppingProcess"/>
  <dsp:param name="businessProcessStage" value="ShippingPriceViewed"/>
  <dsp:oparam name="true">
...
  </dsp:oparam>
  <dsp:oparam name="false">
...
  </dsp:oparam>
</dsp:droplet>
 
loading table of contents...